summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/ofs/ofs-mt.tex
blob: a10b15cf1c80b107df406a6125a00a75ab9fed9a (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
% OFS: MathTime fonts, math encoding declaration
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Apr. 2004                                  Petr Olsak

\protectreading ofs-mt.tex % This is part of OFS package

\mathencdef\MTmathchars {%
  \fontmessage{\ofsmessageheader Math codes are set for MT encoding}%
  \mathcode`\,="602C
  \mathcode`\.="002E
  \mathchardef\ldotp="602E
  \mathcode`\/="002F
  \mathcode`\<="3\hex\mtifam 3C
  \mathcode`\>="3\hex\mtifam 3E
  \mathcode`+="2243
  \mathcode`=="3244
  %
  \def\tmpa{8z}\ifx\fotenc\tmpa
     \mathaccentdef \acute "7013
     \mathaccentdef \bar   "7016
     \mathaccentdef \breve "7015
     \mathaccentdef \check "7014
     \mathaccentdef \ddot  "707F
     \mathaccentdef \dot   "705F
     \mathaccentdef \grave "7012
     \mathaccentdef \hat   "705E
     \mathaccentdef \tilde "707E
  \else
     \mathaccentdef \acute "7001
     \mathaccentdef \bar   "7009
     \mathaccentdef \breve "7008
     \mathaccentdef \check "7007
     \mathaccentdef \ddot  "7004
     \mathaccentdef \dot   "700A
     \mathaccentdef \grave "7000
     \mathaccentdef \hat   "7002
     \mathaccentdef \tilde "7003
  \fi
  \mathaccentdef \vec "0245
  %
  \mathchardef\alpha    "0\hex\mtifam 0B
  \mathchardef\beta     "0\hex\mtifam 0C
  \mathchardef\gamma    "0\hex\mtifam 0D
  \mathchardef\delta    "0\hex\mtifam 0E
  \mathchardef\epsilon  "0\hex\mtifam 0F
  \mathchardef\zeta     "0\hex\mtifam 10
  \mathchardef\eta      "0\hex\mtifam 11
  \mathchardef\theta    "0\hex\mtifam 12
  \mathchardef\iota     "0\hex\mtifam 13
  \mathchardef\kappa    "0\hex\mtifam 14
  \mathchardef\lambda   "0\hex\mtifam 15
  \mathchardef\mu       "0\hex\mtifam 16
  \mathchardef\nu       "0\hex\mtifam 17
  \mathchardef\xi       "0\hex\mtifam 18
  \mathchardef\pi       "0\hex\mtifam 19
  \mathchardef\rho      "0\hex\mtifam 1A
  \mathchardef\sigma    "0\hex\mtifam 1B
  \mathchardef\tau      "0\hex\mtifam 1C
  \mathchardef\upsilon  "0\hex\mtifam 1D
  \mathchardef\phi      "0\hex\mtifam 1E
  \mathchardef\chi      "0\hex\mtifam 1F
  \mathchardef\psi      "0\hex\mtifam 20
  \mathchardef\omega    "0\hex\mtifam 21
  \mathchardef\varepsilon "0\hex\mtifam 22
  \mathchardef\vartheta "0\hex\mtifam 23
  \mathchardef\varpi    "0\hex\mtifam 24
  \mathchardef\varrho   "0\hex\mtifam 25
  \mathchardef\varsigma "0\hex\mtifam 26
  \mathchardef\varphi   "0\hex\mtifam 27
  %
  \mathchardef\Gamma    "0\hex\gufam 47
  \mathchardef\Delta    "0\hex\gufam 44
  \mathchardef\Theta    "0\hex\gufam 27
  \mathchardef\Lambda   "0\hex\gufam 4C
  \mathchardef\Xi       "0\hex\gufam 58
  \mathchardef\Pi       "0\hex\gufam 50
  \mathchardef\Sigma    "0\hex\gufam 53
  \mathchardef\Upsilon  "0\hex\gufam 57
  \mathchardef\Phi      "0\hex\gufam 28
  \mathchardef\Psi      "0\hex\gufam 29
  \mathchardef\Omega    "0\hex\gufam 32
  %
  \mathchardef\imath    "0\hex\mtifam 7B
  \mathchardef\jmath    "0\hex\mtifam 7C
  %
  \mathchardef\partial           "0\hex\mtifam 40
  \mathchardef\star              "2\hex\mtifam 3F
  \mathchardef\ell               "0\hex\mtifam 60
  \mathchardef\wp                "0\hex\mtifam 7D
  \mathchardef\flat              "0\hex\mtifam 5B
  \mathchardef\frown             "3\hex\mtifam 5F
  \mathchardef\smile             "3\hex\mtifam 5E
  \mathchardef\lhook             "3\hex\mtifam 2C
  \mathchardef\rhook             "3\hex\mtifam 2D
  \mathchardef\natural           "0\hex\mtifam 5C
  \mathchardef\sharp             "0\hex\mtifam 5D
  \mathchardef\leftharpoonup     "3\hex\mtifam 28
  \mathchardef\leftharpoondown   "3\hex\mtifam 29
  \mathchardef\rightharpoonup    "3\hex\mtifam 2A
  \mathchardef\rightharpoondown  "3\hex\mtifam 2B
  %
  \mathchardef\triangleleft      "2247 
  \mathchardef\triangleright     "2246
  \def\tmpa{8z}\ifx\fotenc\tmpa
    \mathchardef\ddagger     "2082
    \mathchardef\dagger      "2081
  \fi
  \def\lgroup{\delimiter"4\hex\bffam 2833A }% extensible ( with sharper tips
  \def\rgroup{\delimiter"5\hex\bffam 2933B }% extensible ) with sharper tips
  \def\bracevert{\delimiter"\hex\ttfam 7C33E }% the vertical bar that extends braces
  %
  \def\mathcharsback{\mathencread ofs-cm;}%
}