summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/fontinst/mathetx/oms.etx
blob: 9e139c1589fc889986a824fe327cd014bc92dbac (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
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
%%% ====================================================================
%%%  @TeX-font-encoding-file{
%%%     author          = "Alan Jeffrey and Ulrik Vieth and 
%%%                        Lars Hellstr{\"o}m",
%%%     version         = "1.929",
%%%     date            = "2005-02-03",
%%%     time            = "14:24:50 +01:00",
%%%     filename        = "oms.etx",
%%%     email           = "fontinst@cogs.susx.ac.uk",
%%%     URL             = "http://www.tug.org/applications/fontinst/index.html",
%%%     checksum        = "",
%%%     codetable       = "ISO/ASCII",
%%%     keywords        = "encoding, math, TeX, PostScript",
%%%     supported       = "yes",
%%%     abstract        = "This is the old math symbol encoding as a TeX
%%%                        font encoding file, for use with the fontinst
%%%                        utility.",
%%%     package         = "fontinst",
%%%     dependencies    = "fontinst.sty, fontdoc.sty",
%%%  }
%%% ====================================================================
\relax

\documentclass[twocolumn]{article}
\usepackage{fontdoc}[2004/11/24]

\title{The \TeX\ math symbol encoding vector}
\author{Alan Jeffrey, Ulrik Vieth}
\date{3 February 2005\\Version 1.929}

\begin{document}
\maketitle

\section{Introduction}

This document describes the \TeX\ math symbol (OMS) encoding.

\showbranches
\encoding

\needsfontinstversion{1.917}


\begincomment
\section{Default values}
\endcomment

\setstr{codingscheme}{TEX MATH SYMBOLS}
\setstr{encodingname}{TeXMathSymbolEncoding}

\setint{italicslant}{0}
\setint{interword}{0}
\setint{stretchword}{0}
\setint{shrinkword}{0}
\ifisglyph{x}\then
   \setint{xheight}{\height{x}}
\Else
   \setint{xheight}{500}
\Fi
\setint{quad}{1000}
\setint{extraspace}{0}


\comment{The following font dimension defaults are taken from 
\texttt{cmsy10}.}

\setint{num1}{677}
\setint{num2}{394}
\setint{num3}{444}
\setint{denom1}{686}
\setint{denom2}{345}
\setint{sup1}{413}
\setint{sup2}{363}
\setint{sup3}{289}
\setint{sub1}{150}
\setint{sub2}{247}
\setint{supdrop}{386}
\setint{subdrop}{50}
\setint{delim1}{2390}
\setint{delim2}{1010}
\setint{axisheight}{250}

\begincomment
\section{Font dimensions}
\endcomment

\setfontdimen{1}{italicslant}  % italic slant
\setfontdimen{2}{interword}    % interword space
\setfontdimen{3}{stretchword}  % interword stretch
\setfontdimen{4}{shrinkword}   % interword shrink
\setfontdimen{5}{xheight}      % x-height
\setfontdimen{6}{quad}         % quad
\setfontdimen{7}{extraspace}   % extra space after .

\setfontdimen{8}{num1}         % num 1
\setfontdimen{9}{num2}         % num 2
\setfontdimen{10}{num3}        % num 3
\setfontdimen{11}{denom1}      % denom 1
\setfontdimen{12}{denom2}      % denom 2
\setfontdimen{13}{sup1}        % sup 1
\setfontdimen{14}{sup2}        % sup 2
\setfontdimen{15}{sup3}        % sup 3
\setfontdimen{16}{sub1}        % sub 1
\setfontdimen{17}{sub2}        % sub 2
\setfontdimen{18}{supdrop}     % supdrop
\setfontdimen{19}{subdrop}     % subdrop
\setfontdimen{20}{delim1}      % delim 1
\setfontdimen{21}{delim2}      % delim 2
\setfontdimen{22}{axisheight}  % math axis height


\begincomment
\section{The encoding}
There are 128 glyphs in this encoding.
\endcomment

\setslot{minus}
   \comment{The subtraction symbol `$-$'.}
\endsetslot

\setslot{periodcentered}
   \comment{The centered dot symbol `$\cdot$'.
       It is called `dotmath' in Adobe Symbol.}
\endsetslot

\setslot{multiply}
   \comment{The multiplication symbol `$\times$'.}
\endsetslot

\setslot{asteriskmath}
   \comment{The centered asterisk symbol `$*$'.}
\endsetslot

\setslot{divide}
   \comment{The division symbol `$\plaindiv$'.}
\endsetslot

\setslot{diamondmath}
   \comment{The diamond symbol `$\diamond$'.}
\endsetslot

\setslot{plusminus}
   \comment{The plus or minus symbol `$\pm$'.}
\endsetslot

\setslot{minusplus}
   \comment{The minus or plus symbol `$\mp$'.}
\endsetslot

\setslot{circleplus}
   \comment{The circled plus symbol `$\oplus$'.}
\endsetslot

\setslot{circleminus}
   \comment{The circled minus symbol `$\ominus$'.}
\endsetslot

\setslot{circlemultiply}
   \comment{The circled multiplication symbol `$\otimes$'.}
\endsetslot

\setslot{circledivide}
   \comment{The circled oblique symbol `$\oslash$'.}
\endsetslot

\setslot{circledot}
   \comment{The circled dot symbol `$\odot$'.}
\endsetslot

\setslot{circlecopyrt}
   \comment{The large circle symbol `$\bigcirc$' used for building the
      copyright symbol `\copyright'.}
\endsetslot

\setslot{openbullet}
   \comment{The circle symbol `$\circ$'.}
\endsetslot

\setslot{bullet}
   \comment{The bullet symbol `$\bullet$'.}
\endsetslot

\setslot{equivasymptotic}
   \comment{The asymptotic equals symbol `$\asymp$'.}
\endsetslot

\setslot{equivalence}
   \comment{The equivalence symbol `$\equiv$'.}
\endsetslot

\setslot{reflexsubset}
   \comment{The subset or equals symbol `$\subseteq$'.}
\endsetslot

\setslot{reflexsuperset}
   \comment{The superset or equals symbol `$\supseteq$'.}
\endsetslot

\setslot{lessequal}
   \comment{The less or equals symbol `$\leq$'.}
\endsetslot

\setslot{greaterequal}
   \comment{The greater or equals symbol `$\geq$'.}
\endsetslot

\setslot{precedesequal}
   \comment{The precedes or equals symbol `$\preceq$'.}
\endsetslot

\setslot{followsequal}
   \comment{The follows or equals symbol `$\succeq$'.}
\endsetslot

\setslot{similar}
   \comment{The similar symbol `$\sim$'.}
\endsetslot

\setslot{approxequal}
   \comment{The approximate equality symbol `$\approx$'.}
\endsetslot

\setslot{propersubset}
   \comment{The subset symbol `$\subset$'.}
\endsetslot

\setslot{propersuperset}
   \comment{The superset symbol `$\supset$'.}
\endsetslot

\setslot{lessmuch}
   \comment{The much less symbol `$\ll$'.}
\endsetslot

\setslot{greatermuch}
   \comment{The much greater symbol `$\gg$'.}
\endsetslot

\setslot{precedes} % was curlyless
   \comment{The precedes symbol `$\prec$'.}
\endsetslot

\setslot{follows} % was curlygreater
   \comment{The follows symbol `$\succ$'.}
\endsetslot

\setslot{arrowleft}
   \comment{The left arrow symbol `$\leftarrow$'.}
\endsetslot

\setslot{arrowright}
   \comment{The right arrow symbol `$\rightarrow$'.}
\endsetslot

\setslot{arrowup}
   \comment{The up arrow symbol `$\uparrow$'.}
\endsetslot

\setslot{arrowdown}
   \comment{The down arrow symbol `$\downarrow$'.}
\endsetslot

\setslot{arrowboth}
   \comment{The horizontal arrow symbol `$\leftrightarrow$'.}
\endsetslot

\setslot{arrownortheast}
   \comment{The north-east arrow symbol `$\nearrow$'.}
\endsetslot

\setslot{arrowsoutheast}
   \comment{The south-east arrow symbol `$\searrow$'.}
\endsetslot

\setslot{similarequal}
   \comment{The similar or equal symbol `$\simeq$'.}
\endsetslot

\setslot{arrowdblleft}
   \comment{The double left arrow symbol `$\Leftarrow$'.}
\endsetslot

\setslot{arrowdblright}
   \comment{The double right arrow symbol `$\Rightarrow$'.}
\endsetslot

\setslot{arrowdblup}
   \comment{The double up arrow symbol `$\Uparrow$'.}
\endsetslot

\setslot{arrowdbldown}
   \comment{The double down arrow symbol `$\Downarrow$'.}
\endsetslot

\setslot{arrowdblboth}
   \comment{The double horizontal arrow symbol `$\Leftrightarrow$'.}
\endsetslot

\setslot{arrownorthwest}
   \comment{The north-west arrow symbol `$\nwarrow$'.}
\endsetslot

\setslot{arrowsouthwest}
   \comment{The south-west arrow symbol `$\swarrow$'.}
\endsetslot

\setslot{proportional}
   \comment{The proportional symbol `$\propto$'.}
\endsetslot

\setslot{prime}
   \comment{The prime symbol `$\prime$'.}
\endsetslot

\setslot{infinity}
   \comment{The infinity symbol `$\infty$'.}
\endsetslot

\setslot{element}
   \comment{The set membership symbol `$\in$'.}
\endsetslot

\setslot{owner}
   \comment{The backwards set membership symbol `$\ni$'.}
\endsetslot

\setslot{triangle}
   \comment{The upwards triangle symbol `$\bigtriangleup$'.}
\endsetslot

\setslot{triangleinv}
   \comment{The downwards triangle symbol `$\bigtriangledown$'.}
\endsetslot

\setslot{negationslash}
   \comment{The negation slash symbol, used to construct
       negated relations or arrows such as `$\not=$'.}
\endsetslot

\setslot{mapstochar}
   \comment{The maps to building block symbol `$\mapstochar$',
      used to build `$\mapsto$'.}
\endsetslot

\setslot{universal}
   \comment{The universal quantification symbol `$\forall$'.}
\endsetslot

\setslot{existential}
   \comment{The existential quantification symbol `$\exists$'.}
\endsetslot

\setslot{logicalnot}
   \comment{The negation symbol `$\plainneg$'.}
\endsetslot

\setslot{emptysetstress}
   \comment{The `stressed' empty set symbol `$\emptyset$', which should
      look like a zero with a slash.  The `emptyset' symbol is a circle
      with a slash.}
\endsetslot

\setslot{Rfraktur}
   \comment{The upper case Fraktur R symbol `$\Re$'.  It is called
       `Rfractur' rather than `Rfraktur' in MathTime and Lucida New Math.}
\endsetslot

\setslot{Ifraktur}
   \comment{The upper case Fraktur I symbol `$\Im$'.  It is called
       `Ifractur' rather than `Ifraktur' in MathTime and Lucida New Math.}
\endsetslot

\setslot{latticetop}
   \comment{The inverted perpendicular symbol `$\top$'.}
\endsetslot

\setslot{perpendicular}
   \comment{The perpendicular symbol `$\perp$'.}
\endsetslot

\setslot{aleph}
   \comment{The aleph symbol `$\aleph$'.}
\endsetslot

\setslot{A}
   \comment{The calligraphic letter `$\mathcal{A}$'.}
\endsetslot

\setslot{B}
   \comment{The calligraphic letter `$\mathcal{B}$'.}
\endsetslot

\setslot{C}
   \comment{The calligraphic letter `$\mathcal{C}$'.}
\endsetslot

\setslot{D}
   \comment{The calligraphic letter `$\mathcal{D}$'.}
\endsetslot

\setslot{E}
   \comment{The calligraphic letter `$\mathcal{E}$'.}
\endsetslot

\setslot{F}
   \comment{The calligraphic letter `$\mathcal{F}$'.}
\endsetslot

\setslot{G}
   \comment{The calligraphic letter `$\mathcal{G}$'.}
\endsetslot

\setslot{H}
   \comment{The calligraphic letter `$\mathcal{H}$'.}
\endsetslot

\setslot{I}
   \comment{The calligraphic letter `$\mathcal{I}$'.}
\endsetslot

\setslot{J}
   \comment{The calligraphic letter `$\mathcal{J}$'.}
\endsetslot

\setslot{K}
   \comment{The calligraphic letter `$\mathcal{K}$'.}
\endsetslot

\setslot{L}
   \comment{The calligraphic letter `$\mathcal{L}$'.}
\endsetslot

\setslot{M}
   \comment{The calligraphic letter `$\mathcal{M}$'.}
\endsetslot

\setslot{N}
   \comment{The calligraphic letter `$\mathcal{N}$'.}
\endsetslot

\setslot{O}
   \comment{The calligraphic letter `$\mathcal{O}$'.}
\endsetslot

\setslot{P}
   \comment{The calligraphic letter `$\mathcal{P}$'.}
\endsetslot

\setslot{Q}
   \comment{The calligraphic letter `$\mathcal{Q}$'.}
\endsetslot

\setslot{R}
   \comment{The calligraphic letter `$\mathcal{R}$'.}
\endsetslot

\setslot{S}
   \comment{The calligraphic letter `$\mathcal{S}$'.}
\endsetslot

\setslot{T}
   \comment{The calligraphic letter `$\mathcal{T}$'.}
\endsetslot

\setslot{U}
   \comment{The calligraphic letter `$\mathcal{U}$'.}
\endsetslot

\setslot{V}
   \comment{The calligraphic letter `$\mathcal{V}$'.}
\endsetslot

\setslot{W}
   \comment{The calligraphic letter `$\mathcal{W}$'.}
\endsetslot

\setslot{X}
   \comment{The calligraphic letter `$\mathcal{X}$'.}
\endsetslot

\setslot{Y}
   \comment{The calligraphic letter `$\mathcal{Y}$'.}
\endsetslot

\setslot{Z}
   \comment{The calligraphic letter `$\mathcal{Z}$'.}
\endsetslot

\setslot{union}
   \comment{The set union symbol `$\cup$'.}
\endsetslot

\setslot{intersection}
   \comment{The set intersection symbol `$\cap$'.}
\endsetslot

\setslot{unionmulti}
   \comment{The multiset union symbol `$\uplus$'.}
\endsetslot

\setslot{logicaland}
   \comment{The meet symbol `$\wedge$'.}
\endsetslot

\setslot{logicalor}
   \comment{The join symbol `$\vee$'.}
\endsetslot

\setslot{turnstileleft}
   \comment{The turnstile symbol `$\vdash$'.}
\endsetslot

\setslot{turnstileright}
   \comment{The backwards turnstile symbol `$\dashv$'.}
\endsetslot

\setslot{floorleft}
   \comment{The left floor symbol `$\lfloor$'.}
\endsetslot

\setslot{floorright}
   \comment{The right floor symbol `$\rfloor$'.}
\endsetslot

\setslot{ceilingleft}
   \comment{The left ceiling symbol `$\lceil$'.}
\endsetslot

\setslot{ceilingright}
   \comment{The right ceiling symbol `$\rceil$'.}
\endsetslot

\setslot{braceleft}
   \comment{The left brace symbol `$\{$'.}
\endsetslot

\setslot{braceright}
   \comment{The right brace symbol `$\}$'.}
\endsetslot

\setslot{angleleft}
   \comment{The left angle bracket symbol `$\langle$'.
       It is called `angbracketleft' in MathTime and Lucida,
       but `angleleft' in Adobe Symbol.}
\endsetslot

\setslot{angleright}
   \comment{The right angle bracket symbol `$\rangle$'.
       It is called `angbracketright' in MathTime and Lucida,
       but `angleleft' in Adobe Symbol.}
\endsetslot

\setslot{bar}
   \comment{The vertical bar symbol `$|$'.}
\endsetslot

\setslot{bardbl}
   \comment{The parallel vertical bars symbol `$\parallel$'.}
\endsetslot

\setslot{arrowbothv}
   \comment{The vertical arrows symbol `$\updownarrow$'.}
\endsetslot

\setslot{arrowdblbothv}
   \comment{The double vertical arrows symbol `$\Updownarrow$'.}
\endsetslot

\setslot{backslash}
   \comment{The backwards oblique symbol `$\backslash$'.}
\endsetslot

\setslot{wreathproduct}
   \comment{The Wreath product symbol `$\wr$'.}
\endsetslot

\setslot{radicallow}
   \comment{The lowered radical symbol `$\surd$'.}
\endsetslot

\setslot{coproduct}
   \comment{The textstyle coproduct symbol `$\coprod$'.}
\endsetslot

\setslot{gradient}
   \comment{The inverted Delta symbol `$\nabla$'.
       It is also called `gradient' in MathTime and Lucida,
       but `gradient' in Adobe Symbol.}
\endsetslot

\setslot{integral}
   \comment{The small integral symbol `$\plainint$'.}
\endsetslot

\setslot{unionsq}
   \comment{The square union symbol `$\sqcup$'.}
\endsetslot

\setslot{intersectionsq}
   \comment{The square intersection symbol `$\sqcap$'.}
\endsetslot

\setslot{subsetsqequal}
   \comment{The square subset or equal symbol `$\sqsubseteq$'.}
\endsetslot

\setslot{supersetsqequal}
   \comment{The square superset or equal symbol `$\sqsupseteq$'.}
\endsetslot

\setslot{section}
   \comment{The section symbol `\S'.}
\endsetslot

\setslot{dagger}
   \comment{The dagger symbol `\dag'.}
\endsetslot

\setslot{daggerdbl}
   \comment{The double dagger symbol `\ddag'.}
\endsetslot

\setslot{paragraph}
   \comment{The paragraph symbol `\P'.}
\endsetslot

\setslot{club}
   \comment{The club suit symbol `$\clubsuit$'.}
\endsetslot

\setslot{diamond}
   \comment{The diamond suit symbol `$\diamondsuit$'.}
\endsetslot

\setslot{heart}
   \comment{The heart suit symbol `$\heartsuit$'.}
\endsetslot

\setslot{spade}
   \comment{The spade suit symbol `$\spadesuit$'.}
\endsetslot

\endencoding

\section{Changes}

29 Dec 1993, v1.30:  Created file.

03 Jan 1994, v1.301: Moved from ltugboat class to article.

06 Jan 1994, v1.303: Corrected a fontdimen bug.

08 Jan 1994, v1.304: Renamed radicallowered to radicallow and
                     perpendicularinverse to perpendicularinv.

09 Jan 1994, v1.305: Renamed emptyset to emptysetstress, to distinguish
                     the geometric and the humanist emptyset symbols.
                     Renamed some glyphs to use the same glyph names
                     as Lucida New Math.

10 Jun 1998, v1.800: Really use the same names as Lucida New Math.
                     `curlyless/greater' renamed to `precedes/follows'.

06 Oct 2000, v1.915: Introduced intermediate variables for fontdimens 
                     8--22. Added \texttt{encodingname}. Updated markup. 
                     (LH)

27 Jul 2002, v1.921: Introduced intermediate variables also for
                     fontdimens 1--7. Switched to setting fontdimens
                     using \verb"\setfontdimen". (LH)

24 Nov 2004, v1.928: Changed \verb"\neg" to \verb"\plainneg" for 
                     `\texttt{logicalnot}'. (LH)
                     
3 Feb 2005, v1.929:  Corrected typo in wreath product comment. (LH)
                     Pointed out by Giuseppe Toscano.

\end{document}