Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
texlive-bin
texmf-astro.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File texmf-astro.dif of Package texlive-bin
--- texmf-dist/tex/latex/cmastro/astro.sty +++ texmf-dist/tex/latex/cmastro/astro.sty 2008-09-25 15:58:52.285081000 +0200 @@ -0,0 +1,95 @@ +% 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 +% +\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} + +\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/cmastro.tex +++ texmf-doc/doc/latex/cmastro/cmastro.tex 2008-09-25 15:59:50.485820000 +0200 @@ -0,0 +1,54 @@ +% cmastro.tex: Using the cmastro fonts. +% +% Run this through tex (plain TeX) to get summary of the astro option for +% using the cmastro fonts. + +\input astro +% +\def\t#1{\hbox{\tt #1}} \def\cs#1{\t{\char'134 #1}} +\def\_{\t{\char'137}} \def\${\t{\char'44}} +\def\{{\t{\char'173}} \def\}{\t{\char'175}} +\def\AMS{{$\cal A$\kern-.1667em\lower.5ex\hbox{$\cal M$}\kern-.125em$\cal S$}} +\def\LaTeX{L\kern-.36em\raise.3ex\hbox{\sevenrm A}\kern-.15em\TeX} +% +\bigskip +\centerline{\bf Using the cmastro fonts} +\bigskip + + The \t{cmastro} fonts contain the special symbols +$$ +\vcenter{\tabskip=1emplus1fil + \halign to\hsize{&\hfil#\hfil\tabskip=1em&#\hfil\tabskip=1emplus1fil\cr + \omit\span\bf Planets &\omit\span\bf Other \cr + \Mercury & \cs{Mercury} &\Sun & \cs{Sun} \cr + \Venus & \cs{Venus} &\Moon & \cs{Moon} \cr + \Earth & \cs{Earth} \cr + \Mars & \cs{Mars} &\ascnode & \cs{ascnode} \cr + \Jupiter & \cs{Jupiter} &\descnode & \cs{descnode} \cr + \Saturn & \cs{Saturn} \cr + \Uranus & \cs{Uranus} &\VE & \cs{VE} \cr + \Neptune & \cs{Neptune} &\AE & \cs{AE} \cr + \Pluto & \cs{Pluto} &\circ & \cs{circ} \cr +}} +$$ + to \TeX's repertoire of characters. They also work in sub- and + superscripts, {\it e.g.}, \$\t{M}\_\cs{Jupiter}\$ will give + $M_\Jupiter$. + + In order to use the fonts you must create and install \t{tfm} and + bitmap files as well as the two \TeX\ sources \t{astro.tex} and + \t{astro.sty} in a place where \TeX\ will find them. Then + +\item{$\bullet$} In \LaTeX\ you should use the ``\t{[astro]}'' document style + option, {\it e.g.}, +$$ + \cs{usepackage\{astro\}} +$$ + +\item{$\bullet$} With plain \TeX\ and \AMS-\TeX\ you should add the line +$$ + \cs{input astro} +$$ + in the preamble of your document. + +\bye --- texmf-doc/doc/latex/cmastro/demo.tex +++ texmf-doc/doc/latex/cmastro/demo.tex 2008-09-25 15:59:50.487819000 +0200 @@ -0,0 +1,23 @@ +\documentclass{article} +\usepackage{astro} +\def\Strut{\vphantom{$\bigg|$}} +\begin{document} +\begin{tabular}{cl} +\Strut\Sun & \verb|\Sun| \\ +\Strut\Mercury & \verb|\Mercury| \\ +\Strut\Venus & \verb|\Venus| \\ +\Strut\Earth & \verb|\Earth| \\ +\Strut\Mars & \verb|\Mars| \\ +\Strut\Jupiter & \verb|\Jupiter| \\ +\Strut\Saturn & \verb|\Saturn| \\ +\Strut\Uranus & \verb|\Uranus| \\ +\Strut\Neptune & \verb|\Neptune| \\ +\Strut\Pluto & \verb|\Pluto| \\ +\Strut\Moon & \verb|\Moon| \\ +\Strut\ascnode & \verb|\ascnode| \\ +\Strut\descnode & \verb|\descnode| \\ +\Strut\VE & \verb|\VE| \\ +\Strut\AE & \verb|\AE| \\ +%\Strut\circ & \verb|\circ| \\ +\end{tabular} +\end{document} --- texmf-doc/doc/latex/cmastro/README +++ texmf-doc/doc/latex/cmastro/README 2008-09-25 16:01:11.568933000 +0200 @@ -0,0 +1,47 @@ +This directory contains the cmastro fonts as collected +by Sebastian Rahtz. No author was given in the sources. + +I have changed the standard setup and added a summary page; the files +distributed by Sebastian Rahtz all start with 00. + +WHAT IS CMASTRO? + +CMASTRO is a collection of fonts containing special astronomical (and +astrological :-) symbols for the planets, sun, moon, etc. + +HOW TO INSTALL (on un*x systems): + +0) CMASTRO is distributed with a complete set of PK files generated + for a 300dpi laser printer. If you can manage with these then skip + to 3). + +1) Edit the do.sh script to suit your font format. + +2) Run do.sh. If you need more magnifications than are generated here + then feel free to generate them... + +3) Install the font metric (.tfm) files where TeX will them and the + pixel files (usually .gf or .pk) where your DVI driver(s) will find + them. + +4) Install the macro files astro.tex and astro.sty in a place where + TeX will find them. + +5) Run plain TeX on the file cmastro.tex (typically you should execute + the command tex cmastro). This should produce a summary of the + available symbols. + +FINALLY... + +If anyone knows the author of the cmastro fonts then please write a +mail to <kris@diku.dk> so he/she can be properly acknowledged! + +Neither Sebastian Rahtz nor myself (Kristoffer H. Rose) should be held +responsible for any consequences of any form of use (or misuse) of this +package. + +Enjoy, +-- + Kristoffer H{\o}gsbro ROSE <kris@diku.dk> + DIKU (TOPPS group), University of Copenhagen + Universitetsparken 1, DK-2100 Copenhagen {\O} (+45) 31396466
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