summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/plain/plstmary/plstmary.tex
blob: 6c9eb7902bf10f11adf17f67304bb7197891c207 (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
\input amssym
\input stmary
\font\headfont=cmr12
\font\headsf=cmss12
\hsize 6truein
\hoffset .25in
\def\!{\relax\ifmmode\mskip -\thinmuskip \else \negthinspace\fi}

\centerline{\headsf plstmary: \headfont St.\ Mary's Road Font for Plain \TeX}
\medskip
\centerline{Dan Luecking}
\centerline{\tt luecking \it \!at\/ \tt uark \it \!dot\/ \tt edu}
\bigskip

\noindent The plstmary package provides plain TeX support for the St.\
Mary's Road symbol font. After inputting the macro file {\tt
stmary.tex}, all the symbols in the tables below become defined, except
{\tt\string\oast} and {\tt\string\ocircle}. These two commands require
that {\tt amssym.tex} be input. (They are the same symbols
as {\tt\string\circledast} and {\tt\string\circledcirc}, defined in {\tt
amssym.tex}. The point of defining them is to have matching
`{\tt\string\o}\dots' and `{\tt\string\varo}\dots' pairs for all
circles.)

Some command names defined in the {\tt stmary.tex} overwrite command names
in the {\tt amssym.tex}. If you wish to avoid that, you should load
{\tt amssym.tex} after {\tt stmary.tex}.

All the command names are the same as those in the LaTeX package
{\tt stmaryrd.sty}. More details on the symbols and their usage may be found in
the documentation of the LaTeX stmaryrd package.

The plstmary package allows minimal size changing. By default it
produces symbols intended for ten point documents. It also supports nine,
eleven, and twelve point documents. Use one of the following commands to
change size:\hfil\break
\indent{\tt \string\stmaryninepoint}\hfil\break
\indent{\tt \string\stmaryelevenpoint}\hfil\break
\indent{\tt \string\stmarytwelvepoint}\hfil\break
You can use {\tt\string\stmarytenpoint} to restore the default if it has
been changed.

In order to get actual error-free output from these commands, one needs
to have the St.\ Mary Road fonts installed, but they are available in
all the major free TeX distributions: TeX Live, MiKTeX and MacTeX.

\bigskip
\leftline{\bf Legal stuff}

\medskip
\noindent The St.\ Mary's Road metafont code is copyright \copyright
1991-1994 by Jeremy Gibbons and Alan Jeffrey. The fonts in PS type1
format (i.e., {\tt .afm} and {\tt .pfb} files) are copyright \copyright
1998 by Taco Hoekwater. All rights are reserved to the respective
authors.

This plstmary package for plain TeX is hereby placed in the
public domain. I am indebted to the creators of the fonts and of the
stmaryrd LaTeX package. The file {\tt stmary.tex} is nothing but a
reduction to plain TeX macros and TeX primitives of the code in {\tt
stmaryrd.sty}.

\bigskip
\leftline{\bf Caveats}

\medskip
\noindent Some features of the LaTeX package have not been implemented
in plstmary. For example, normally the symbol obtained with
{\tt\string\oplus} has thin strokes while {\tt\string\varoplus} has
thicker strokes. The LaTeX package can be loaded with the {\tt
heavycircles} option to reverse this for all the circled symbols. This
is not implemented in plstmary. Also, the LaTeX package has the {\tt
only} option, allowing selected commands to be defined and no others.
This is not implemented in plstmary.

Also, I have made the following corrections (or possibly mistakes).
(1)~In {\tt stmaryrd.sty}, the commands {\tt\string\lbag} and
{\tt\string\rbag} are defined as binary operations, but the
documentation says they are delimiters. In {\tt stmary.tex}, I have
defined them as delimiters. (2)~In {\tt stmaryrd.sty}, the commands
{\tt\string\binampersand} and {\tt\string\bindnasrepma} are defined as
delimiters, but their names clearly state that they are binary
operations (and the stmaryrd package documentation does not list them
among the delimiters). In {\tt stmary.tex}, I have defined them as
binary operations. I have no idea if I have chosen the correct usages
for these four commands, and I would be happy to change them back if
someone would let me know.


\bigskip
The tables start on the next page.

\bigskip
\vfil\eject
\halign{%
\strut\quad\tt#\hfil\quad
&             #\hfil\qquad
&          \tt#\hfil\quad
&             #\hfil\enspace\cr
\bf Binary operations\hidewidth\cr
\noalign{\smallskip\hrule\smallskip}
 \string\Yup
&$\Yup$
&\string\Ydown
&$\Ydown$\cr
 \string\Yleft
&$\Yleft$
&\string\Yright
&$\Yright$\cr
 \string\binampersand
&$\binampersand$
&\string\bindnasrepma
&$\bindnasrepma$\cr
 \string\varcurlyvee
&$\varcurlyvee$
&\string\varcurlywedge
&$\varcurlywedge$\cr
 \string\minuso
&$\minuso$
&\string\baro
&$\baro$\cr
 \string\sslash
&$\sslash$
&\string\bbslash
&$\bbslash$\cr
 \string\moo
&$\moo$
&\string\boxast
&$\boxast$\cr
 \string\boxbar
&$\boxbar$
&\string\boxdot
&$\boxdot$\cr
 \string\boxslash
&$\boxslash$
&\string\boxbslash
&$\boxbslash$\cr
 \string\boxcircle
&$\boxcircle$
&\string\boxbox
&$\boxbox$\cr
 \string\boxempty
&$\boxempty$
&\string\merge
&$\merge$\cr
 \string\vartimes
&$\vartimes$
&\string\fatsemi
&$\fatsemi$\cr
 \string\fatslash
&$\fatslash$
&\string\fatbslash
&$\fatbslash$\cr
 \string\varbigcirc
&$\varbigcirc$
&\string\leftslice
&$\leftslice$\cr
 \string\rightslice
&$\rightslice$
&\string\varotimes
&$\varotimes$\cr
 \string\oast
&$\oast$
&\string\varoast
&$\varoast$\cr
 \string\obar
&$\obar$
&\string\varobar
&$\varobar$\cr
 \string\obslash
&$\obslash$
&\string\varobslash
&$\varobslash$\cr
 \string\ocircle
&$\ocircle$
&\string\varocircle
&$\varocircle$\cr
 \string\varoplus
&$\varoplus$
&\string\varominus
&$\varominus$\cr
 \string\olessthan
&$\olessthan$
&\string\varolessthan
&$\varolessthan$\cr
 \string\ogreaterthan
&$\ogreaterthan$
&\string\varogreaterthan
&$\varogreaterthan$\cr
 \string\ovee
&$\ovee$
&\string\varovee
&$\varovee$\cr
 \string\owedge
&$\owedge$
&\string\varowedge
&$\varowedge$\cr
 \string\varoslash
&$\varoslash$
&\string\varodot
&$\varodot$\cr
 \string\oblong
&$\oblong$
&\string\talloblong
&$\talloblong$\cr
 \string\interleave
&$\interleave$
&\string\nplus
&$\nplus$\cr
\noalign{\smallskip\hrule\smallskip}
}

\bigskip
\filbreak
\halign{%
\strut\quad  \tt#\hfil\quad & #\hfil\qquad
           & \tt#\hfil\quad & #\hfil\enspace\cr
\bf Relations\hidewidth\cr
\noalign{\smallskip\hrule\smallskip}
%
%
%
 \string\inplus
&$\inplus$
&\string\niplus
&$\niplus$\cr
 \string\subsetplus
&$\subsetplus$
&\string\supsetplus
&$\supsetplus$\cr
 \string\subsetpluseq
&$\subsetpluseq$
&\string\supsetpluseq
&$\supsetpluseq$\cr
 \string\shortuparrow
&$\shortuparrow$
&\string\shortdownarrow
&$\shortdownarrow$\cr
 \string\nnwarrow
&$\nnwarrow$
&\string\nnearrow
&$\nnearrow$\cr
 \string\sswarrow
&$\sswarrow$
&\string\ssearrow
&$\ssearrow$\cr
 \string\curlywedgeuparrow
&$\curlywedgeuparrow$
&\string\curlywedgedownarrow
&$\curlywedgedownarrow$\cr
 \string\curlyveedownarrow
&$\curlyveedownarrow$
&\string\curlyveeuparrow
&$\curlyveeuparrow$\cr
 \string\trianglelefteqslant
&$\trianglelefteqslant$
&\string\trianglerighteqslant
&$\trianglerighteqslant$\cr
 \string\ntrianglelefteqslant
&$\ntrianglelefteqslant$
&\string\ntrianglerighteqslant
&$\ntrianglerighteqslant$\cr
 \string\leftrightarroweq
&$\leftrightarroweq$
&\string\shortrightarrow
&$\shortrightarrow$\cr
 \string\shortleftarrow
&$\shortleftarrow$
&\string\rightarrowtriangle
&$\rightarrowtriangle$\cr
 \string\leftarrowtriangle
&$\leftarrowtriangle$
&\string\leftrightarrowtriangle
&$\leftrightarrowtriangle$\cr
\string\Mapsto
&$\Mapsto$
&\string\Longmapsto
&$\Longmapsto$\cr
\string\mapsfrom
&$\mapsfrom$
&\string\Mapsfrom
&$\Mapsfrom$\cr
\string\longmapsfrom
&$\longmapsfrom$
&\string\Longmapsfrom
&$\Longmapsfrom$\cr
\noalign{\smallskip\hrule\smallskip}
}

\bigskip
\noindent The commands {\tt\string\arrownot} and {\tt\string\Arrownot}
can be placed in front of horizontal arrows to negate them:
{\tt\string\arrownot\string\rightarrow} produces
        $\arrownot\rightarrow$ and
        {\tt\string\Arrownot\string\Rightarrow} produces
        $\Arrownot\Rightarrow$.
For long arrows, there are {\tt\string\longarrownot} and
{\tt\string\Longarrownot}.


\bigskip
\filbreak
\halign{%
\strut\quad \tt#\hfil\quad & #\hfil\qquad
           &\tt#\hfil\quad & #\hfil\enspace\cr
\bf Big operators\hidewidth\cr
\noalign{\smallskip\hrule\smallskip}
 \string\bigtriangledown
&$\bigtriangledown$
&\string\bigtriangleup
&$\bigtriangleup$\cr
 \string\bigcurlyvee
&$\bigcurlyvee$
&\string\bigcurlywedge
&$\bigcurlywedge$\cr
 \string\bigsqcap
&$\bigsqcap$
&\string\bigbox
&$\bigbox$\cr
 \string\bigparallel
&$\bigparallel$
&\string\biginterleave
&$\biginterleave$\cr
 \string\bignplus
&$\bignplus$\cr
\noalign{\smallskip\hrule\smallskip}
}


\bigskip
\filbreak
\halign{%
\strut\quad \tt#\hfil\quad & #\hfil\qquad
           &\tt#\hfil\quad & #\hfil\enspace\cr
\bf Delimiters\hidewidth\cr
\noalign{\smallskip\hrule\smallskip}
 \string\lbag
&$\lbag$
&\string\rbag
&$\rbag$\cr
 \string\Lbag
&$\Lbag$
&\string\Rbag
&$\Rbag$\cr
 \string\llparenthesis
&$\llparenthesis$
&\string\rrparenthesis
&$\rrparenthesis$\cr
 \string\llfloor
&$\llfloor$
&\string\rrfloor
&$\rrfloor$\cr
 \string\llceil
&$\llceil$
&\string\rrceil
&$\rrceil$\cr
\noalign{\smallskip\hrule\smallskip}
}

\bigskip
\filbreak
\halign{%
\strut\quad \tt#\hfil\quad & #\hfil\qquad
           &\tt#\hfil\quad & #\hfil\enspace\cr
\bf Expandable delimiters\hidewidth\cr
\noalign{\smallskip\hrule\smallskip}
 \string\llbracket
&$\llbracket$
&\string\rrbracket
&$\rrbracket$\cr
\noalign{\smallskip\hrule\smallskip}
}

Examples of extended double brackets:\quad
$
\left\llbracket \matrix{a\cr} \right\rrbracket\quad
\left\llbracket \matrix{a\cr b\cr} \right\rrbracket\quad
\left\llbracket \matrix{a\cr b\cr c\cr} \right\rrbracket\quad
\left\llbracket \matrix{a\cr b\cr c\cr d\cr} \right\rrbracket\quad
\left\llbracket \matrix{a\cr b\cr c\cr d\cr e\cr} \right\rrbracket\quad
\left\llbracket \matrix{a\cr b\cr c\cr d\cr e\cr f\cr} \right\rrbracket
$

\bigskip
\filbreak
\halign{%
\strut\quad \tt#\hfil\quad & #\hfil\qquad
           &\tt#\hfil\quad & #\hfil\enspace\cr
\bf Miscellaneous\hidewidth\cr
\noalign{\smallskip\hrule\smallskip}
 \string\lightning
&$\lightning$
&\string\varcopyright
&$\varcopyright$\cr
\noalign{\smallskip\hrule\smallskip}
}

\def\br{\hfil\break}
\def\cmd#1{{\tt\string#1}}
\bigskip
\leftline{\bf Version history}

\medskip
\noindent
    0.4 --- 2013/04/16\quad   Corrected \cmd\lbag, \cmd\Lbag,
                              \cmd\binampersand and \cmd\bindnasrepma\br
    0.3 --- 2013/03/28\quad   Reorganized internal macros\br
    0.2 --- 2010/12/05\quad   Typos corrected\br
    0.1 --- 2007/04/02\quad   Initial version


\medskip
\noindent

\bye