Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
texlive
texmf-astro.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File texmf-astro.dif of Package texlive
--- texmf-dist/tex/latex/cmastro/astro.sty +++ texmf-dist/tex/latex/cmastro/astro.sty 2008-03-03 17:13:57.402295000 +0100 @@ -1,5 +1,6 @@ % astro.sty: LaTeX style option to load CMASTRO fonts and define the symbols % +\expandafter\ifx\csname DeclareFontShape\endcsname\relax % NOTE: uses the old font selection scheme... % \input astro.tex @@ -53,3 +54,42 @@ \@addfontinfo\@xxvpt{% \def\pastro{\fam\astrofam\twentyfiveastro}\textfont\astrofam=\twentyfiveastro \scriptfont\astrofam=\seventeenastro \scriptscriptfont\astrofam=\fourteenastro} + +\else + +\DeclareFontFamily{U}{cmastro}{\skewchar\font='177} +\DeclareFontShape{U}{cmastro}{m}{n}{% + <5> sfixed * [5] cmastro5 + <6> sfixed * [6] cmastro6 + <7> sfixed * [7] cmastro7 + <8> sfixed * [8] cmastro8 + <9> sfixed * [9] cmastro9 + <10> sfixed * [10] cmastro10 + <11> sfixed * [10.95] cmastro10 + <12> sfixed * [12] cmastro10 + <14> sfixed * [14.4] cmastro10 + <17> sfixed * [17.28] cmastro10 + <20> sfixed * [20.74] cmastro10 + <25> sfixed * [24.88] cmastro10}{} +\def\astro{\fontencoding{U}\fontfamily{cmastro}% + \fontseries{m}\fontshape{n}\selectfont} + +\def\Sun{{\astro S}} % Sun symbol, "S" +\def\Mercury{{\astro 1}} % Mercury symbol, "1" +\def\Venus{{\astro 2}} % Venus symbol, "2" +\def\Earth{{\astro 3}} % Earth symbol, "3" +\def\Mars{{\astro 4}} % Mars symbol, "4" +\def\Jupiter{{\astro 5}} % Jupiter symbol, "5" +\def\Saturn{{\astro 6}} % Saturn symbol, "6" +\def\Uranus{{\astro 7}} % Uranus symbol, "7" +\def\Neptune{{\astro 8}} % Neptune symbol, "8" +\def\Pluto{{\astro 9}} % Pluo symbol, "9" +\def\Moon{{\astro M}} % Moon symbol, "M" +\def\ascnode{{\astro N}} % ascending node (dragon's head), +\def\descnode{{\astro D}} % descending node (dragon's tail), +\def\VE{{\astro V}} % vernal equinox (Aries), "V" +\def\AE{{\astro L}} % autumnal equinox (Libra), "L" +\def\circ{{\astro\char'16}} % circle, replacing the one in \sy + +\fi +\endinput --- texmf-doc/doc/latex/cmastro/demo.tex +++ texmf-doc/doc/latex/cmastro/demo.tex 2008-03-03 17:26:40.129826000 +0100 @@ -1,7 +1,6 @@ -\documentstyle[astro]{article} - +\documentclass{article} +\usepackage{astro} \def\Strut{\vphantom{$\bigg|$}} - \begin{document} \begin{tabular}{cl} \Strut\Sun & \verb|\Sun| \\ --- texmf-doc/doc/latex/cmastro/cmastro.tex +++ texmf-doc/doc/latex/cmastro/cmastro.tex 2008-03-03 17:32:29.396187000 +0100 @@ -42,7 +42,7 @@ \item{$\bullet$} In \LaTeX\ you should use the ``\t{[astro]}'' document style option, {\it e.g.}, $$ - \cs{documentstyle[astro,12pt]\{article\}} + \cs{usepackage\{astro\}} $$ \item{$\bullet$} With plain \TeX\ and \AMS-\TeX\ you should add the line
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor