summaryrefslogtreecommitdiff
path: root/fonts/ps-type1/starfont/starfont.sty
blob: add2f1bc1700282bb91c36e9156b0ac1480c93c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
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