Debian Codegraph @

texmf-dist/tex/plain/wasy/wasyfont.tex

raw
1 % this is WASYFONT.tex version 2.4--2020/01
2 % to be used with PlainTeX
3 \catcode`@=11 % make @ letter
4 \ifx\newwasy\undefined
5 \font\tenwasy = wasy10
6 \font\wasyb = wasyb10
7 \font\ninewasy = wasy9
8 \font\sevenwasy = wasy7
9 \font\bigwasy = wasy10 scaled \magstep1
10 \font\bigwasyb = wasyb10 scaled \magstep1
11 \font\Bigwasy = wasy10 scaled \magstep2
12 \font\Bigwasyb = wasyb10 scaled \magstep2
13 \font\fivewasy = wasy5
14 \font\eightwasy = wasy8
15 \font\wasysl = wasysl10
16 \else
17 \font\tenwasy = wasym10
18 \font\wasyb = wasymb10
19 \font\ninewasy = wasym9
20 \font\sevenwasy = wasym7
21 \font\bigwasy = wasym10 scaled \magstep1
22 \font\bigwasyb = wasymb10 scaled \magstep1
23 \font\Bigwasy = wasym10 scaled \magstep2
24 \font\Bigwasyb = wasymb10 scaled \magstep2
25 \font\fivewasy = wasym5
26 \font\eightwasy = wasym8
27 \font\wasysl = wasyml10
28 \fi
29 \newfam\wasyfam
30 \newcount\wasyfamcount
31 \wasyfamcount=\wasyfam \multiply\wasyfamcount by 256
32 \def\wasy{\fam\wasyfam\tenwasy}
33 \textfont\wasyfam=\tenwasy
34 \scriptfont\wasyfam=\sevenwasy
35 \scriptscriptfont\wasyfam=\fivewasy
36 %%%%%% move to slanted or boldface including wasy symbols
37 \def\wbf{\bf\let\tenwasy\wasyb}
38 \def\wsl{\sl\let\tenwasy\wasysl}
39 \def\euro{{\wasy\char"4E}}
40 \def\Paragraph{{\wasy\char"4D}}
41 \def\s{{\wasy\char"54}}
42 \def\z{{\wasy\char"4F}}
43 \def\applecmd{{\wasy\char"53}}
44 %%%%%% special macro
45 \def\overstrike#1#2{{\setbox0\hbox{$#2$}\hbox to \wd0{\hss
46 $#1$\hss}\kern-\wd0\box0}}
47 %%%%%% special symbols
48 \def\male{\hbox{\wasy\char"1A}}
49 \def\female{\hbox{\wasy\char"19}}
50 \def\currency{{\wasy\char"1B}}
51 \def\phone{{\wasy\char"07}}
52 \def\recorder{{\wasy\char"06}}
53 \def\clock{{\wasy\char"1C}}
54 \def\lightning{{\wasy\char"12}}
55 \def\pointer{{\wasy\char"09}}
56 \def\RIGHTarrow{{\wasy\char"11}}
57 \def\LEFTarrow{{\wasy\char"10}}
58 \def\UParrow{{\wasy\char"4B}}
59 \def\DOWNarrow{{\wasy\char"4C}}
60 \def\AC{\hbox{\kern0.5pt\wasy\char"3A\kern0.5pt}}
61 \def\HF{\lower0.9pt\hbox to 0pt{\kern0.5pt\wasy\char"3A\hss}%
62 \raise0.9pt\hbox{\kern0.5pt\wasy\char"3A\kern0.5pt}}
63 \def\VHF{\hbox{\wasy\char"40}}
64 \def\Box{\hbox{\wasy\char"32}}\let\Square\Box
65 \def\XBox{\hbox{\wasy\char"34}}
66 \def\Diamond{\hbox{\wasy\char"33}}
67 \def\hexagon{\hbox{\wasy\char"37}}
68 \def\pentagon{\hbox{\wasy\char"44}}
69 \def\octagon{\hbox{\wasy\char"38}}
70 \def\varhexagon{\hbox{\wasy\char"39}}
71 \def\hexstar{\hbox{\wasy\char"41}}
72 \def\varhexstar{\hbox{\wasy\char"42}}
73 \def\davidsstar{\hbox{\wasy\char"43}}
74 \def\diameter{\hbox{\wasy\char"1F}}
75 \def\invdiameter{\hbox{\wasy\char"15}}
76 \def\varangle{\hbox{\wasy\char"1E}}
77 \def\lozenge{\hbox{\wasy\char"35}}
78 \def\kreuz{\hbox{\wasy\char"36}}
79 \def\smiley{\hbox{\wasy\char"2C}}
80 \def\frownie{\hbox{\wasy\char"2F}}
81 \def\blacksmiley{\hbox{\wasy\char"2D}}
82 \def\sun{\hbox{\wasy\char"2E}}
83 \def\checked{\hbox{\wasy\char"08}}
84 \def\bell{\hbox{\wasy\char"0A}}
85 \def\eighthnote{\hbox{\wasy\char"0B}}
86 \def\quarternote{\hbox{\wasy\char"0C}}
87 \def\halfnote{\hbox{\wasy\char"0D}}
88 \def\fullnote{\hbox{\wasy\char"0E}}
89 \def\twonotes{\hbox{\wasy\char"0F}}
90 \def\brokenvert{\hbox{\wasy\char"7C}}
91 \def\therefore{\hbox{\wasy\char"05}}
92 \def\ataribox{\hbox{\wasy\char"6D}}
93 \def\Circle{\hbox{\wasy\char"23}}
94 \def\CIRCLE{\hbox{\wasy\char"20}}
95 \def\Leftcircle{\hbox{\wasy\char"49}}
96 \def\LEFTCIRCLE{\hbox{\wasy\char"47}}
97 \def\Rightcircle{\hbox{\wasy\char"4A}}
98 \def\RIGHTCIRCLE{\hbox{\wasy\char"48}}
99 \def\LEFTcircle{\hbox to 0pt{\wasy\char"47\hss}\hbox{\wasy\char"23}}
100 \def\RIGHTcircle{\hbox to 0pt{\wasy\char"48\hss}\hbox{\wasy\char"23}}
101 %%%%%% the zodiac
102 \def\aries{\hbox{\wasy\char"17}}
103 \def\taurus{\hbox{\wasy\char"5D}}
104 \def\gemini{\hbox{\wasy\char"5E}}
105 \def\cancer{\hbox{\wasy\char"5F}}
106 \def\leo{\hbox{\wasy\char"13}}
107 \def\virgo{\hbox{\wasy\char"60}}
108 \def\libra{\hbox{\wasy\char"61}}
109 \def\scorpio{\hbox{\wasy\char"62}}
110 \def\sagittarius{\hbox{\wasy\char"63}}
111 \def\capricornus{\hbox{\wasy\char"64}}
112 \def\aquarius{\hbox{\wasy\char"65}}
113 \def\pisces{\hbox{\wasy\char"66}}
114 %%%%%% APL characters
115 \def\APLstar{{\hbox{\wasy\char"45}}}
116 \def\APLlog{{\hbox{\wasy\char"16}}}
117 \def\APLbox{{\hbox{\wasy\char"7E}}}
118 \def\APLup{{\hbox{\wasy\char"00}}}
119 \def\APLdown{{\hbox{\wasy\char"46}}}
120 \def\APLinput{{\hbox{\wasy\char"7D}}}
121 \def\APLcomment{{\hbox{\wasy\char"7F}}}
122 \def\APLinv{{\hbox to 0pt{\tensy\char"04\hss}\APLbox}}
123 \def\APLuparrowbox{{\hbox{\wasy\char"6E}}}
124 \def\APLdownarrowbox{{\hbox{\wasy\char"6F}}}
125 \def\APLleftarrowbox{{\hbox{\wasy\char"70}}}
126 \def\APLrightarrowbox{{\hbox{\wasy\char"71}}}
127 \def\notbackslash{\overstrike{\backslash}{-}}
128 \def\notslash{\overstrike{/}{-}}
129 \def\APLnot#1{\overstrike{\sim}{#1}}
130 \def\APLcirc#1{\overstrike{\circ}{#1}}
131 \def\APLvert#1{\overstrike{\vert}{#1}}
132 \def\APLminus{\raise0.7ex\hbox{$-$}}
133 %%%%%% diagrams
134 \def\photon{\hbox{\wasy\char"3A\char"3A\char"3A\char"3A}}
135 \def\gluon{\hbox{\wasy\char"51\char"50\char"50\char"50%
136 \char"50\char"50\char"50\char"52}}
137 %%%%%% math characters
138 \def\Bowtie{\hbox{\wasy\char"31}}
139 \def\leftturn{\hbox{\wasy\char"22}}
140 \def\rightturn{\hbox{\wasy\char"21}}
141 %%%%%% special characters
142 \def\cent{\hbox{\wasy\char"67}}
143 \def\permil{\hbox{\wasy\char"68}}
144 \def\agemO{{\wasy\char"30}}
145 \def\thorn{{\wasy\char"69}}
146 \def\Thorn{{\wasy\char"6A}}
147 \def\dh{{\wasy\char"6B}}
148 \def\Dh{\leavevmode{\setbox0\hbox{D}%
149 \hbox to\wd0{\kern 0.04em\char32\hss D}}}
150 \def\openo{{\wasy\char"6C}}
151 \def\inve{{\wasy\char"55}}
152 %%%%%% math operators as mathchars
153 \def\wasymathchardef#1#2{%
154 \count255=\wasyfamcount
155 \advance\count255 by"#1
156 \mathchardef#2\count255}
157 \wasymathchardef{3001}{\lhd}
158 \wasymathchardef{3003}{\rhd}
159 \wasymathchardef{3010}{\LHD}
160 \wasymathchardef{3011}{\RHD}
161 \wasymathchardef{3002}{\unlhd}
162 \wasymathchardef{3004}{\unrhd}
163 \wasymathchardef{303C}{\sqsubset}
164 \wasymathchardef{303D}{\sqsupset}
165 \wasymathchardef{303E}{\apprle}
166 \wasymathchardef{303F}{\apprge}
167 \wasymathchardef{301D}{\varpropto}
168 \wasymathchardef{0018}{\invneg}
169 \wasymathchardef{303B}{\leadsto}
170 \wasymathchardef{2023}{\ocircle}
171 \wasymathchardef{3016}{\logof}
172 \wasymathchardef{1072}{\varint}
173 \wasymathchardef{1073}{\iint}
174 \wasymathchardef{1074}{\iiint}
175 \wasymathchardef{1075}{\varoint}
176 \wasymathchardef{1076}{\oiint}
177 %
178 \wasymathchardef{0027}{\mer@@}
179 \wasymathchardef{0019}{\ven@@}
180 \wasymathchardef{0026}{\ear@@}
181 \wasymathchardef{001A}{\mar@@}
182 \wasymathchardef{0058}{\jup@@}
183 \wasymathchardef{0059}{\sat@@}
184 \wasymathchardef{005A}{\ura@@}
185 \wasymathchardef{005B}{\nep@@}
186 \wasymathchardef{0024}{\moon@@}
187 \wasymathchardef{0017}{\vern@@}
188 \wasymathchardef{0013}{\ascn@de}
189 \wasymathchardef{0014}{\descn@de}
190 \wasymathchardef{0056}{\conju@@}
191 \wasymathchardef{0057}{\oppos@@}
192 %%%%%% astronomy
193 \def\vernal{\ifmmode\vern@@\else{\wasy\char"17}\fi}
194 \def\ascnode{\ifmmode\ascn@de\else{\wasy\char"13}\fi}
195 \def\descnode{\ifmmode\descn@de\else{\wasy\char"14}\fi}
196 \def\fullmoon{\hbox{\wasy\char"23}}
197 \def\newmoon{\hbox{\wasy\char"20}}
198 \def\leftmoon{\ifmmode\moon@@\else{\wasy\char"24}\fi}
199 \def\rightmoon{\hbox{\wasy\char"25}}
200 \def\astrosun{\ifmmode\odot\else\hbox{\tensy\char"0C}\fi}
201 \def\mercury{\ifmmode\mer@@\else{\wasy\char"27}\fi}
202 \def\venus{\ifmmode\ven@@\else\raise0.2ex\hbox{\wasy\char"19}\fi}
203 \def\earth{\ifmmode\ear@@\else\lower0.3ex\hbox{\wasy\char"26}\fi}
204 \def\mars{\ifmmode\mar@@\else\lower0.2ex\hbox{\wasy\char"1A}\fi}
205 \def\jupiter{\ifmmode\jup@@\else{\wasy\char"58}\fi}
206 \def\saturn{\ifmmode\sat@@\else{\wasy\char"59}\fi}
207 \def\uranus{\ifmmode\ura@@\else{\wasy\char"5A}\fi}
208 \def\neptune{\ifmmode\nep@@\else{\wasy\char"5B}\fi}
209 \def\pluto{\hbox{\wasy\char"5C}}
210 \def\conjunction{\ifmmode\conju@@\mkern-4mu{}\else{\wasy\char"56}\fi}
211 \def\opposition{\ifmmode\oppos@@\else{\wasy\char"57}\fi}
212 %
213 %%%%%% new definitions
214 %
215 \def\newpropto{\let\propto\varpropto}
216 \def\newint{\let\int\varint \let\oint\varoint} % default limits
217 \catcode`@=12 % at signs are no longer letters