summaryrefslogtreecommitdiff
path: root/obsolete/fonts/wasy/wasydoc.tex
blob: d9b76ef51ce75e6879e42d50f38eb367c9bafcc3 (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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
\magnification\magstep1
\parskip 1.1ex plus 0.4ex
\parindent 0pt
\pretolerance 1000
\tolerance 2000
\hbadness 2000
\advance\hsize -5truemm
%
\font\tenssf = cmss10    % sans-serif font
\def\ssf{\tenssf}
\def\\{\char"5C{}}       % define backslash
\def\newline{\hfill\break}
%
\input wasyfont
%
%%% START %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\centerline{\bf A New Symbol Font \tt wasy}
\vskip 1\parskip
\centerline{\it Roland Waldi}
\vskip 1mm
\centerline{Institut f\"ur Experimentelle Kernphysik}
\centerline{Universit\"at Karlsruhe}
\centerline{Physikhochhaus, P.O.Box 6980}
\centerline{D-7500 Karlsruhe, Fed.~Rep.~Germany}
\vskip 1mm
\centerline{December 1989}

\vskip 1.5\parskip

The font {\tt wasy} contains some of the {\tt lasy} characters, and
a lot more symbols. It does not contain letters and letter-like symbols
(like the upside down $\Omega$ in {\tt lasy}); those characters will
be provided in different styles ({\tt teletype}, roman,
{\sl slanted} and {\ssf sans-serif}) as different fonts, to make it
easier to combine them with the existing characters.

Some characters were just copied from the {\tt lasy.mf} file, others
where modified from the {\tt mf} files of the standard \TeX\ fonts,
and some were designed from scratch.

An extension to PLAIN-\TeX\ for using the fonts is included
in the file {\tt wasyfont.tex}.
These bindings are just meant as an example how to implement
the {\tt wasy} characters into your document. They may
change in a future release of a {\tt wasyfont.tex} file together
with extended {\tt wasy} fonts (however,
the positions of the presently
existing characters in the {\tt wasy}
font will not change, so this file as well as
your own bindings will be compatible
with any future release).

A list of characters with their bindings in
{\tt wasyfont.tex} follows.
Some symbols which are already available from standard \TeX\ fonts
are also included for comparison; these symbols are marked
with $^*$.

general symbols
$$
\halign{&\tt\\# \hfil&#\qquad\hfil\cr
male&\male         &female&\female \cr
currency&\currency &clock&\clock \cr
lozenge&\lozenge   &kreuz&\kreuz \cr
smiley&\smiley     &blacksmiley&\blacksmiley \cr
frownie&\frownie   &sun&\sun \cr
checked&\checked   &brokenvert&\brokenvert \cr
diameter&\diameter &invdiameter&\invdiameter \cr
phone&\phone       &recorder   &\recorder    \cr
bell&\bell         &lightning  &\lightning   \cr
pointer&\pointer \cr}
$$

diagrams
$$
\halign{&\tt\\# \hfil&#\qquad\hfil\cr
photon     &\photon    &gluon    &\gluon  \cr}
$$

music notes
$$
\halign{&\tt\\# \hfil&#\qquad\hfil\cr
eighthnote&\eighthnote   &quarternote&\quarternote \cr
halfnote&\halfnote       &fullnote&\fullnote \cr
twonotes&\twonotes \cr}
$$

electrical engineering
$$
\halign{&\tt\\# \hfil&#\qquad\hfil\cr
AC      &\AC      &HF     &\HF          \cr
VHF     &\VHF      \cr}
$$

APL
$$
\halign{&\tt\\# \hfil&#\qquad\hfil\cr
APLup   &\APLup    &APLdown &\APLdown     \cr
APLbox  &\APLbox   &APLinv  &\APLinv      \cr
APLleftarrowbox &\APLleftarrowbox&APLrightarrowbox &\APLrightarrowbox\cr
APLuparrowbox &\APLuparrowbox&APLdownarrowbox &\APLdownarrowbox\cr
APLinput&\APLinput &APLminus$^*$&\APLminus \cr
APLlog  &\APLlog  &APLstar    &\APLstar    \cr
APLvert$^*$&\APLvert{\ } &
 APLvert\char`\{\\APLdown\char`\} &\APLvert{\APLdown} \cr
APLnot$^*$&\APLnot{\ } &
 APLnot\char`\{\\APLdown\char`\} &\APLnot{\APLdown} \cr
APLnot\char`\{\\land\char`\} &\APLnot{\land} &
 APLnot\char`\{\\lor\char`\} &\APLnot{\lor} \cr
APLcirc$^*$&\APLcirc{\ } &
 APLcirc\char`\{\\bot\char`\} &\APLcirc{\bot} \cr
notbackslash &\notbackslash &
 notslash &\notslash \cr
APLcomment &\APLcomment \cr}
$$

astronomy
$$
\halign{&\tt\\# \hfil&#\qquad\hfil\cr
ascnode&\ascnode &descnode&\descnode \cr
aries&\aries &astrosun$^*$&\astrosun \cr
newmoon    &\newmoon   &fullmoon &\fullmoon \cr
leftmoon   &\leftmoon  &rightmoon&\rightmoon \cr
mercury    &\mercury   &venus    &\venus  \cr
mars       &\mars      &jupiter  &\jupiter  \cr
saturn     &\saturn    &uranus   &\uranus   \cr
neptune    &\neptune   &pluto    &\pluto    \cr
earth    &\earth     \cr}
$$

geometrical shapes
$$
\halign{&\tt\\# \hfil&#\qquad\hfil\cr
hexstar    &\hexstar   &varhexstar&\varhexstar \cr
davidsstar &\davidsstar&APLstar&\APLstar  \cr
Circle     &\Circle    &CIRCLE   &\CIRCLE   \cr
Leftcircle &\Leftcircle  &LEFTCIRCLE   &\LEFTCIRCLE   \cr
Rightcircle&\Rightcircle &RIGHTCIRCLE  &\RIGHTCIRCLE   \cr
LEFTcircle &\LEFTcircle  &RIGHTcircle  &\RIGHTcircle   \cr
LEFTarrow  &\LEFTarrow   &RIGHTarrow   &\RIGHTarrow    \cr
UParrow    &\UParrow   &DOWNarrow   &\DOWNarrow    \cr
Box        &\Box       &APLbox   &\APLbox   \cr
XBox &\XBox&Bowtie   &\Bowtie   \cr
Diamond    &\Diamond   &octagon  &\octagon   \cr
hexagon    &\hexagon   &varhexagon &\varhexagon \cr
pentagon   &\pentagon  \cr}
$$

general math \& physics
$$
\halign{&\tt# \hfil&#\qquad\hfil\cr
\\varangle&\varangle &\$\\invneg\$ &$\invneg$\cr
\\leftturn  &\leftturn   &\\rightturn  &\rightturn   \cr
\\diameter   &\diameter  &\\therefore&\therefore \cr}
$$

math operators
$$
\halign{&\tt\$a\\# b \hfil&$a#b$\qquad\hfil\cr
ocircle&\ocircle &logof&\logof \cr
oplus$^*$&\oplus &otimes$^*$&\otimes \cr
le$^*$ &\le      &ge$^*$&\ge   \cr
apprle &\apprle  &apprge&\apprge \cr
lhd    &\lhd     &rhd  &\rhd   \cr
unlhd  &\unlhd   &unrhd&\unrhd   \cr
LHD    &\LHD     &RHD  &\RHD   \cr
sqsubset&\sqsubset  &sqsupset&\sqsupset \cr
sqsubseteq$^*$&\sqsubseteq  &sqsupseteq$^*$&\sqsupseteq \cr
propto$^*$&\propto      &varpropto     &\varpropto  \cr
leadsto    &\leadsto   \cr}
$$

integrals (text style)
$$
\halign{&\tt\$\\#\_a\char`\^b f(x)dx \hfil&$#_a^b f(x)dx$\qquad\hfil\cr
varint&\varint  &iint&\iint  \cr
iiint&\iiint    &varoint&\varoint \cr
oiint&\oiint  \cr}
$$

integrals (display style)
$$
\varint \iint \iiint \varoint \oiint
$$

With the control sequence
{\tt\\newpropto} you can change the proportional sign to the
thin {\tt wasy} symbol ($\varpropto$),
which is more distinct from alpha ($\alpha$)
then the default symbol ($\propto$).

With the control sequence
{\tt\\newint} you can change the \TeX\ integrals from $\int,\oint$
to the vertical ones $\varint,\varoint$, in display:
$$\int_a^b \to \varint_a^b,\qquad
  \oint_C \to \varoint_C
$$

\bigskip

\centerline{\bf Examples}

``We provide the \eighthnote\twonotes, you provide the \smiley''

The planets ($\astrosun\to{}$outer space):
\mercury\ \venus\ \earth\ \mars\ asteroids
\jupiter\ \saturn\ \uranus\ \neptune\ \pluto.

special characters on IBM PC's: \smiley, \blacksmiley, $\heartsuit$,
$\diamondsuit$, $\clubsuit$, $\spadesuit$, $\bullet$,
$\ocircle$, \male, \female, \eighthnote, \twonotes, \sun, \RIGHTarrow,
\LEFTarrow, $\updownarrow$, !!, \P, \S,
$\underline{\underline{\rm\hbox to 0.85em{\hss}}}$,
$\underline{\updownarrow}$,
$\uparrow$, $\downarrow$, $\to$, $\leftarrow$, \UParrow, \DOWNarrow,
\brokenvert, $\invneg$, $\neg$, \dots

special characters on Atari ST's: \pointer, \checked, \clock, \bell,
\eighthnote,
$\invneg$, $\neg$, $\varoint$, \dots

tube dimensions: $\diameter 5\,mm$, $d = 0.5\,mm$, $l = 50\,mm$

display math:
$$
\prod_{x \apprle 5} a_x \logof b_x \simeq \varint_{x \apprge 5}
 a \ocircle b\,dx
\eqno{(\hbox{nonsense.1})}
$$
$$
\hbox{Gauss' law:\qquad} \iiint_V \nabla {\bf F}({\bf x}) \,d^3x
= \oiint_{S(V)} {\bf F}({\bf x}) \,d{\bf a}
$$
$$
\hbox{Stokes' law:\qquad} \iint_A
\lbrack\nabla \times {\bf F}({\bf x})\rbrack \,d{\bf a}
= \varoint_{C(A)} {\bf F}({\bf x}) \,d{\bf l}
$$


APL Program:\newline
$U \leftarrow \APLminus 1+ G \leftarrow 2 \times \iota N
\leftarrow \APLbox$ \qquad \APLcomment\quad generate vectors of odd and
even numbers

APL keyboard layout:

\def\1{\underbar}
\halign{&#\ \cr
&1& &2& &3& &4& &5& &6& &7& &8& &9& &0& &+& &$\times$& &$\diamond$\cr
&&Q& &W& &E& &R& &T& &Y& &U& &I& &O& &P& &$\leftarrow$& &$\to$\cr
&&A& &S& &D& &F& &G& &H& &J& &K& &L& &$\lbrack$& &$\rbrack$& &\#\cr
&$\vdash$& &Z& &X& &C& &V& &B& &N& &M& &,& &.& &/\cr
\cr
&\"\ & &\APLminus& &$<$& &$\le$& &=& &$\ge$& &$>$& &$\ne$& &$\lor$&
 &$\land$& &$-$& &$\div$& &\$\cr
&&?& &$\omega$& &$\epsilon$& &$\rho$& &$\sim$& &$\uparrow$&
 &$\downarrow$& &$\iota$& &$\ocircle$& &$\star$& &$\{$& &$\}$\cr
&&$\alpha$& &$\lceil$& &$\lfloor$& &\tt\_& &\APLdown&
 &\APLup& &$\circ$& &{\tt\char"0D}& &\APLbox& &(& &)& &$\sim$\cr
&$\dashv$& &$\subset$& &$\supset$& &$\cap$& &$\cup$& &$\bot$& &$\top$&
 &$\vert$& &;& &:& &$\backslash$\cr
\cr
&\tt I& &\APLnot{\APLdown}& &\APLvert{\APLdown}& &\APLvert{\APLup}&
 &\APLvert{\ocircle}& &\invdiameter& &$\ominus$& &\APLlog&
 &\APLnot{\lor}& &\APLnot{\land}& &!& &\APLinv& &\APLinput\cr
&&\1Q& &\1W& &\1E& &\1R& &\1T& &\1Y& &\1U& &\1I& &\1O& &\1P&
 &\APLleftarrowbox& &\APLrightarrowbox\cr
&&\1A& &\1S& &\1D& &\1F& &\1G& &\1H& &\1J& &\1K& &\1L&
 &\APLcirc{\bot}& &\APLcirc{\top}& &\=,& \cr
&\1{\APLup}& &\1Z& &\1X& &\1C& &\1V& &\1B& &\1N& &\1M& &\APLcomment&
 &\notbackslash& &\notslash\cr
\cr
&     & &                 & &                  & &                &
 &                  & &            & &         & &$\otimes$& \cr
&&   & &   & &   & &   & &   & &\APLuparrowbox& &\APLdownarrowbox& \cr%
}
\medskip

check the appropriate box like this \XBox\ or that
\Box\kern-.6em\checked:

\noindent\Box\quad I need the {\tt wasy} fonts\newline
\Box\quad I don't need the {\tt wasy} fonts







\bigskip

\centerline{\bf Font Table}

{\wasy$$
\halign {&#\quad\hfil\cr
 {\tt 00 =}  \char"00%
&{\tt 01 =}  \char"01%
&{\tt 02 =}  \char"02%
&{\tt 03 =}  \char"03%
&{\tt 04 =}  \char"04%
&{\tt 05 =}  \char"05%
&{\tt 06 =}  \char"06%
&{\tt 07 =}  \char"07\cr
 {\tt 08 =}  \char"08%
&{\tt 09 =}  \char"09%
&{\tt 0A =}  \char"0A%
&{\tt 0B =}  \char"0B%
&{\tt 0C =}  \char"0C%
&{\tt 0D =}  \char"0D%
&{\tt 0E =}  \char"0E%
&{\tt 0F =}  \char"0F\cr
 {\tt 10 =}  \char"10%
&{\tt 11 =}  \char"11%
&{\tt 12 =}  \char"12%
&{\tt 13 =}  \char"13%
&{\tt 14 =}  \char"14%
&{\tt 15 =}  \char"15%
&{\tt 16 =}  \char"16%
&{\tt 17 =}  \char"17\cr
 {\tt 18 =}  \char"18%
&{\tt 19 =}  \char"19%
&{\tt 1A =}  \char"1A%
&{\tt 1B =}  \char"1B%
&{\tt 1C =}  \char"1C%
&{\tt 1D =}  \char"1D%
&{\tt 1E =}  \char"1E%
&{\tt 1F =}  \char"1F\cr
 {\tt 20 =}  \char"20%
&{\tt 21 =}  \char"21%
&{\tt 22 =}  \char"22%
&{\tt 23 =}  \char"23%
&{\tt 24 =}  \char"24%
&{\tt 25 =}  \char"25%
&{\tt 26 =}  \char"26%
&{\tt 27 =}  \char"27\cr
 {\tt 28 =}  \char"28%
&{\tt 29 =}  \char"29%
&{\tt 2A =}  \char"2A%
&{\tt 2B =}  \char"2B%
&{\tt 2C =}  \char"2C%
&{\tt 2D =}  \char"2D%
&{\tt 2E =}  \char"2E%
&{\tt 2F =}  \char"2F\cr
 {\tt 30 =}  \char"30%
&{\tt 31 =}  \char"31%
&{\tt 32 =}  \char"32%
&{\tt 33 =}  \char"33%
&{\tt 34 =}  \char"34%
&{\tt 35 =}  \char"35%
&{\tt 36 =}  \char"36%
&{\tt 37 =}  \char"37\cr
 {\tt 38 =}  \char"38%
&{\tt 39 =}  \char"39%
&{\tt 3A =}  \char"3A%
&{\tt 3B =}  \char"3B%
&{\tt 3C =}  \char"3C%
&{\tt 3D =}  \char"3D%
&{\tt 3E =}  \char"3E%
&{\tt 3F =}  \char"3F\cr
 {\tt 40 =}  \char"40%
&{\tt 41 =}  \char"41%
&{\tt 42 =}  \char"42%
&{\tt 43 =}  \char"43%
&{\tt 44 =}  \char"44%
&{\tt 45 =}  \char"45%
&{\tt 46 =}  \char"46%
&{\tt 47 =}  \char"47\cr
 {\tt 48 =}  \char"48%
&{\tt 49 =}  \char"49%
&{\tt 4A =}  \char"4A%
&{\tt 4B =}  \char"4B%
&{\tt 4C =}  \char"4C%
&{\tt 4D =}  \char"4D%
&{\tt 4E =}  \char"4E%
&{\tt 4F =}  \char"4F\cr
 {\tt 50 =}  \char"50%
&{\tt 51 =}  \char"51%
&{\tt 52 =}  \char"52%
&{\tt 53 =}  \char"53%
&{\tt 54 =}  \char"54%
&{\tt 55 =}  \char"55%
&{\tt 56 =}  \char"56%
&{\tt 57 =}  \char"57\cr
 {\tt 58 =}  \char"58%
&{\tt 59 =}  \char"59%
&{\tt 5A =}  \char"5A%
&{\tt 5B =}  \char"5B%
&{\tt 5C =}  \char"5C%
&{\tt 5D =}  \char"5D%
&{\tt 5E =}  \char"5E%
&{\tt 5F =}  \char"5F\cr
 {\tt 60 =}  \char"60%
&{\tt 61 =}  \char"61%
&{\tt 62 =}  \char"62%
&{\tt 63 =}  \char"63%
&{\tt 64 =}  \char"64%
&{\tt 65 =}  \char"65%
&{\tt 66 =}  \char"66%
&{\tt 67 =}  \char"67\cr
 {\tt 68 =}  \char"68%
&{\tt 69 =}  \char"69%
&{\tt 6A =}  \char"6A%
&{\tt 6B =}  \char"6B%
&{\tt 6C =}  \char"6C%
&{\tt 6D =}  \char"6D%
&{\tt 6E =}  \char"6E%
&{\tt 6F =}  \char"6F\cr
 {\tt 70 =}  \char"70%
&{\tt 71 =}  \char"71%
&{\tt 72 =}  \char"72%
&{\tt 73 =}  \char"73%
&{\tt 74 =}  \char"74%
&{\tt 75 =}  \char"75%
&{\tt 76 =}  \char"76%
&{\tt 77 =}  \char"77\cr
 {\tt 78 =}  \char"78%
&{\tt 79 =}  \char"79%
&{\tt 7A =}  \char"7A%
&{\tt 7B =}  \char"7B%
&{\tt 7C =}  \char"7C%
&{\tt 7D =}  \char"7D%
&{\tt 7E =}  \char"7E%
&{\tt 7F =}  \char"7F\cr}
$$}

There are still many unused places in the font table, which will be
filled in the future. However, the next version will be downward
compatible to this one, i.e.\ no character will be removed from its
current place.

You are encouraged to contribute to the extension, by sending your
favourite character(s) to the author. Also suggestions are
welcome.
\bye