summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-09-23 12:45:33 +0000
committerKarl Berry <karl@freefriends.org>2007-09-23 12:45:33 +0000
commitc610a4fd6d3616fd916e8b3d82f9831789880f7c (patch)
tree2689bc3f3c4b40eafcbbf7ce3b07c0ffd20b0994 /Master/texmf-dist
parentf7dc7f01124ecf0c34c815e13f89495413f4d37d (diff)
add cmastro
git-svn-id: svn://tug.org/texlive/trunk@5015 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/tex/fonts/cmastro/00astro.sty32
-rw-r--r--Master/texmf-dist/tex/fonts/cmastro/astro.sty55
2 files changed, 87 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/fonts/cmastro/00astro.sty b/Master/texmf-dist/tex/fonts/cmastro/00astro.sty
new file mode 100644
index 00000000000..ce76045a6db
--- /dev/null
+++ b/Master/texmf-dist/tex/fonts/cmastro/00astro.sty
@@ -0,0 +1,32 @@
+
+% Load the fonts
+
+\newfont\twentyfiveastro{cmastro10 scaled \magstep5}
+\newfont\twentyastro{cmastro10 scaled \magstep4}
+\newfont\seventeenastro{cmastro10 scaled \magstep3}
+\newfont\fourteenastro{cmastro10 scaled \magstep2}
+\newfont\twelveastro{cmastro10 scaled \magstep1}
+\newfont\elevenastro{cmastro10 scaled \magstephalf}
+\newfont\tenastro{cmastro10}
+\newfont\nineastro{cmastro9}
+\newfont\eightastro{cmastro8}
+\newfont\sevenastro{cmastro7}
+\newfont\sixastro{cmastro6}
+\newfont\fiveastro{cmastro5}
+
+\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
diff --git a/Master/texmf-dist/tex/fonts/cmastro/astro.sty b/Master/texmf-dist/tex/fonts/cmastro/astro.sty
new file mode 100644
index 00000000000..ffdfbf6f8ed
--- /dev/null
+++ b/Master/texmf-dist/tex/fonts/cmastro/astro.sty
@@ -0,0 +1,55 @@
+% astro.sty: LaTeX style option to load CMASTRO fonts and define the symbols
+%
+% NOTE: uses the old font selection scheme...
+%
+\input astro.tex
+%
+\def\astro{\protect\pastro}
+%
+\@addfontinfo\@vpt{%
+ \def\pastro{\fam\astrofam\fiveastro}\textfont\astrofam=\fiveastro
+ \scriptfont\astrofam=\fiveastro \scriptscriptfont\astrofam=\fiveastro}
+%
+\@addfontinfo\@vipt{%
+ \def\pastro{\fam\astrofam\sixastro}\textfont\astrofam=\sixastro
+ \scriptfont\astrofam=\fiveastro \scriptscriptfont\astrofam=\fiveastro}
+%
+\@addfontinfo\@viipt{%
+ \def\pastro{\fam\astrofam\sevenastro}\textfont\astrofam=\sevenastro
+ \scriptfont\astrofam=\fiveastro \scriptscriptfont\astrofam=\fiveastro}
+%
+\@addfontinfo\@viiipt{%
+ \def\pastro{\fam\astrofam\eightastro}\textfont\astrofam=\eightastro
+ \scriptfont\astrofam=\sixastro \scriptscriptfont\astrofam=\fiveastro}
+%
+\@addfontinfo\@ixpt{%
+ \def\pastro{\fam\astrofam\nineastro}\textfont\astrofam=\nineastro
+ \scriptfont\astrofam=\sevenastro \scriptscriptfont\astrofam=\fiveastro}
+%
+\@addfontinfo\@xpt{%
+ \def\pastro{\fam\astrofam\tenastro}\textfont\astrofam=\tenastro
+ \scriptfont\astrofam=\sevenastro \scriptscriptfont\astrofam=\fiveastro}
+%
+\@addfontinfo\@xipt{%
+ \def\pastro{\fam\astrofam\elevenastro}\textfont\astrofam=\elevenastro
+ \scriptfont\astrofam=\eightastro \scriptscriptfont\astrofam=\sixastro}
+%
+\@addfontinfo\@xiipt{%
+ \def\pastro{\fam\astrofam\twelveastro}\textfont\astrofam=\twelveastro
+ \scriptfont\astrofam=\eightastro \scriptscriptfont\astrofam=\sixastro}
+%
+\@addfontinfo\@xivpt{%
+ \def\pastro{\fam\astrofam\fourteenastro}\textfont\astrofam=\fourteenastro
+ \scriptfont\astrofam=\tenastro \scriptscriptfont\astrofam=\sevenastro}
+%
+\@addfontinfo\@xviipt{%
+ \def\pastro{\fam\astrofam\seventeenastro}\textfont\astrofam=\seventeenastro
+ \scriptfont\astrofam=\twelveastro \scriptscriptfont\astrofam=\eightastro}
+%
+\@addfontinfo\@xxpt{%
+ \def\pastro{\fam\astrofam\twentyastro}\textfont\astrofam=\twentyastro
+ \scriptfont\astrofam=\fourteenastro \scriptscriptfont\astrofam=\twelveastro}
+%
+\@addfontinfo\@xxvpt{%
+ \def\pastro{\fam\astrofam\twentyfiveastro}\textfont\astrofam=\twentyfiveastro
+ \scriptfont\astrofam=\seventeenastro \scriptscriptfont\astrofam=\fourteenastro}