%
% 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