summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/starfont
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-10-02 23:59:07 +0000
committerKarl Berry <karl@freefriends.org>2010-10-02 23:59:07 +0000
commit014634e62d7fc42c4b1713305a1a0d5890a56b35 (patch)
treee5659df51b5f32206809fc3fb6eed2aef4ab0358 /Master/texmf-dist/tex/latex/starfont
parentf3bccaef13b1afc18e31f244f79cc7c1d1ddcb8b (diff)
new font package starfont (1oct10)
git-svn-id: svn://tug.org/texlive/trunk@19981 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/starfont')
-rw-r--r--Master/texmf-dist/tex/latex/starfont/starfont.sty144
1 files changed, 144 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/starfont/starfont.sty b/Master/texmf-dist/tex/latex/starfont/starfont.sty
new file mode 100644
index 00000000000..add2f1bc170
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/starfont/starfont.sty
@@ -0,0 +1,144 @@
+%
+% starfont.sty
+% LaTeX macros for typesetting with Anthony Owen's StarFont
+%
+% This file is released to the public domain by its author, Matthew Skala
+%
+\ProvidesPackage{starfont}
+ [2010/09/29 v1.2 Anthony Owen's StarFont]
+
+\newif\ifst@rfontserif\st@rfontseriffalse
+
+\DeclareOption{starfontsans}{\st@rfontseriffalse}
+\DeclareOption{starfontserif}{\st@rfontseriftrue}
+
+\ProcessOptions\relax
+
+\def\starfontsans{\st@rfontseriffalse}
+\def\starfontserif{\st@rfontseriftrue}
+
+\DeclareFontFamily{OT1}{stf}{}
+\DeclareFontShape{OT1}{stf}{m}{n}{<-> s * [0.95] fstr8x}{}
+\DeclareFontFamily{OT1}{sts}{}
+\DeclareFontShape{OT1}{sts}{m}{n}{<-> fsts8x}{}
+
+\def\stf{\ifst@rfontserif\usefont{OT1}{sts}{m}{n}%
+ \else\usefont{OT1}{stf}{m}{n}\fi}
+\def\stchr{\stf\char}
+\def\textstf#1{{\stf #1}}
+
+% Luminaries
+\def\Sun{{\stchr115}}
+\def\Moon{{\stchr100}}
+
+% Major planets - note that the planet Earth is called \Terra to distinguish
+% it from the element Earth
+\def\Mercury{{\stchr102}}
+\def\Venus{{\stchr103}}
+\def\Terra{{\stchr76}}
+\def\Mars{{\stchr104}}
+\def\Jupiter{{\stchr106}}
+\def\Saturn{{\stchr83}}
+\def\Uranus{{\stchr70}}
+\def\Neptune{{\stchr71}}
+\def\Pluto{{\stchr74}}
+
+% Variant luminary and planet symbols
+\def\varMoon{{\stchr97}}
+\def\varTerra{{\stchr108}}
+\def\varUranus{{\stchr65}}
+\def\varPluto{{\stchr72}}
+
+% Uranian hypothetical planets
+\def\Cupido{{\stchr228}}
+\def\Hades{{\stchr220}}
+\def\Zeus{{\stchr252}}
+\def\Kronos{{\stchr196}}
+\def\Apollon{{\stchr223}}
+\def\Admetos{{\stchr214}}
+\def\Vulkanus{{\stchr246}}
+\def\Poseidon{{\stchr167}}
+
+% Derived points from the Moon's orbit - this Lilith is the one that looks
+% like the "diameter" symbol. I've read a claim that that glyph properly
+% refers to the Lilith that is a supposed second natural satellite of the
+% Earth, not the lunar apogee/second focus Lilith, but it's the only glyph
+% in the font that I'm sure refers to Lilith at all.
+\def\NorthNode{{\stchr107}}
+\def\SouthNode{{\stchr63}}
+\def\Lilith{{\stchr216}}
+
+% Popular asteroids
+\def\Ceres{{\stchr194}}
+\def\Pallas{{\stchr58}}
+\def\Juno{{\stchr59}}
+\def\Vesta{{\stchr95}}
+\def\Chiron{{\stchr68}}
+
+% Less popular asteroids.
+\def\Amor{{\stchr43}}
+\def\Eros{{\stchr64}}
+\def\Hidalgo{{\stchr37}}
+\def\Hygiea{{\stchr189}}
+\def\Psyche{{\stchr191}}
+\def\Sappho{{\stchr125}}
+
+% Arabic parts
+\def\Fortune{{\stchr75}}
+
+% Signs
+\def\Aries{{\stchr120}}
+\def\Taurus{{\stchr99}}
+\def\Gemini{{\stchr118}}
+\def\Cancer{{\stchr98}}
+\def\Leo{{\stchr110}}
+\def\Virgo{{\stchr109}}
+\def\Libra{{\stchr88}}
+\def\Scorpio{{\stchr67}}
+\def\Sagittarius{{\stchr86}}
+\def\Capricorn{{\stchr66}}
+\def\Aquarius{{\stchr78}}
+\def\Pisces{{\stchr77}}
+
+% Alternate glyphs for signs
+\def\varCapricorn{{\stchr90}}
+
+% marvosym-style \Zodiac macro
+\def\Zodiac#1{{\stchr\ifcase#1\or120\or99\or118\or98\or110\or109\or88\or67\or86\or66\or78\or77\fi}}
+
+% Aspects
+\def\Conjunction{{\stchr113}}
+\def\Opposition{{\stchr112}}
+\def\Trine{{\stchr117}}
+\def\Square{{\stchr116}}
+\def\Sextile{{\stchr114}}
+\def\Quincunx{{\stchr111}}
+\def\Semisextile{{\stchr119}}
+\def\Semisquare{{\stchr101}}
+\def\Sesquiquadrate{{\stchr105}}
+
+% Angles
+\def\ASC{{\stchr49}}
+\def\DSC{{\stchr50}}
+\def\MC{{\stchr51}}
+\def\IC{{\stchr52}}
+\def\Vertex{{\stchr33}}
+\def\EastPoint{{\stchr39}}
+
+% Direction abbreviations
+\def\Station{{\stchr54}}
+\def\Retrograde{{\stchr53}}
+\def\Direct{{\stchr55}}
+
+% Elements - note that \Earth refers to the element; planet Earth is \Terra
+\def\Fire{{\stchr208}}
+\def\Earth{{\stchr209}}
+\def\Air{{\stchr210}}
+\def\Water{{\stchr211}}
+
+% Other symbols
+\def\Pentagram{{\stchr229}}
+\def\Natal{{\stchr48}}
+\def\Radix{{\stchr41}}
+
+\endinput