summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/lambda/base/omega.sty
blob: 00c88f42402b2406028c9264ac3ba4e1c4e67406 (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
% This is 'omega.sty'.
%
% Copyright (C) John Plaice and Yannis Haralambous
% Copyright (C) 2002 Roozbeh Pournader
%
% 

\def\@tabular{\leavevmode \hbox \bgroup \nextfakemath$\let\@acol\@tabacol
   \let\@classz\@tabclassz
   \let\@classiv\@tabclassiv \let\\\@tabularcr\@tabarray}

\def\textbullet{{\fontencoding{OMS}\selectfont\clearocplists\char"0F}}%
\def\i{^^^^0131}%
\def\ss{^^^^00df}%
\DeclareRobustCommand\ttfamily
        {\not@math@alphabet\ttfamily\mathtt
         \fontfamily\ttdefault\selectfont\clearocplists}
%
     \ocp\IdOCP=id
     \ocplist\NilOCP=
     \addbeforeocplist 1 \IdOCP
     \nullocplist
%
     \ocp\BasicLatinTexUni=lat2uni
     \ocp\BasicLatinUniToFont=uni2lat
     \ocplist\BasicLatinOCP=
     \addbeforeocplist 1 \BasicLatinTexUni
     \addbeforeocplist 1 \BasicLatinUniToFont
     \nullocplist
     \ocp\GrTexUni=grpo2uni
     \ocp\GrUniToFont=uni2greek
     \ocplist\GreekOCP=
     \addbeforeocplist 1 \GrTexUni
     \addbeforeocplist 1 \GrUniToFont
     \nullocplist
     \ocp\ArabUni=7arb2uni
     \ocp\BerberUni=7ber2uni
     \ocp\UrduUni=7urd2uni
     \ocp\AfghaPashtoUni=7pas2uni
     \ocp\PakiPashtoUni=7pap2uni
     \ocp\SindhiUni=7snd2uni
     \ocp\TifinaghUni=7tbe2uni
     \ocp\LatinBerberUni=7lbe2uni
     \ocp\UniCUni=uni2cuni
     \ocp\CUniArab=cuni2oar
     \ocp\NoKeshidehCUniArab=cuni2nar
     \ocplist\ArabicOCP=
     \addbeforeocplist 1 \ArabUni
     \addbeforeocplist 1 \UniCUni
     \addbeforeocplist 1 \CUniArab
     \nullocplist
     \ocplist\ArabicNoKeshidehOCP=
     \addbeforeocplist 1 \ArabUni
     \addbeforeocplist 1 \UniCUni
     \addbeforeocplist 1 \NoKeshidehCUniArab
     \nullocplist
     \ocplist\ArabicBerberOCP=
     \addbeforeocplist 1 \BerberUni
     \addbeforeocplist 1 \UniCUni
     \addbeforeocplist 1 \CUniArab
     \nullocplist
     \ocplist\TifinaghOCP=
     \addbeforeocplist 1 \TifinaghUni
     \addbeforeocplist 1 \BasicLatinUniToFont
     \nullocplist
     \ocplist\LatinBerberOCP=
     \addbeforeocplist 1 \LatinBerberUni
     \addbeforeocplist 1 \BasicLatinUniToFont
     \nullocplist
     \ocplist\UrduOCP=
     \addbeforeocplist 1 \UrduUni
     \addbeforeocplist 1 \UniCUni
     \addbeforeocplist 1 \CUniArab
     \nullocplist
     \ocplist\UrduNoKeshidehOCP=
     \addbeforeocplist 1 \UrduUni
     \addbeforeocplist 1 \UniCUni
     \addbeforeocplist 1 \NoKeshidehCUniArab
     \nullocplist
     \ocplist\AfghaPashtoOCP=
     \addbeforeocplist 1 \AfghaPashtoUni
     \addbeforeocplist 1 \UniCUni
     \addbeforeocplist 1 \CUniArab
     \nullocplist
     \ocplist\PakiPashtoOCP=
     \addbeforeocplist 1 \PakiPashtoUni
     \addbeforeocplist 1 \UniCUni
     \addbeforeocplist 1 \CUniArab
     \nullocplist
     \ocplist\SindhiOCP=
     \addbeforeocplist 1 \SindhiUni
     \addbeforeocplist 1 \UniCUni
     \addbeforeocplist 1 \CUniArab
     \nullocplist
     \pushocplist\BasicLatinOCP
\input{grlccode.tex}
\newenvironment{greek}{\pushocplist\GreekOCP\fontfamily{omlgc}\selectfont%
\language=3\lefthyphenmin=2\righthyphenmin=2}{%
}
\newenvironment{arab}{\pushocplist\ArabicOCP\fontfamily{omarb}\selectfont\textdir TRT\pardir TRT}{}
\newenvironment{smallarab}{\pushocplist\ArabicNoKeshidehOCP\fontfamily{omarb}\selectfont\textdir TRT\pardir TRT}{}
\newenvironment{latberber}{\pushocplist\LatinBerberOCP\fontfamily{omlgc}\selectfont}{%
}
\newenvironment{tifinagh}{\pushocplist\TifinaghOCP\fontfamily{omlgc}\selectfont}{%
}
\newenvironment{berber}{\pushocplist\ArabicBerberOCP\fontfamily{omarb}\selectfont\textdir TRT\pardir TRT}{}
\newenvironment{urdu}{\pushocplist\UrduOCP\fontfamily{omarb}\selectfont\textdir TRT\pardir TRT}{}
\newenvironment{smallurdu}{\pushocplist\UrduNoKeshidehOCP\fontfamily{omarb}\selectfont\textdir TRT\pardir TRT}{}
\newenvironment{pashto}{\pushocplist\AfghaPashtoOCP\fontfamily{omarb}\selectfont\textdir TRT\pardir TRT}{}
\newenvironment{pashtop}{\pushocplist\PakiPashtoOCP\fontfamily{omarb}\selectfont\textdir TRT\pardir TRT}{}
\newenvironment{sindhi}{\pushocplist\SindhiOCP\fontfamily{omarb}\selectfont\textdir TRT\pardir TRT}{}
\def\rmdefault{omlgc}
\def\ttdefault{uctt}
\def\OMEGA{{\fontfamily{omlgc}\selectfont^^^^03a9}}
\def\OTP{\OMEGA TP}
%\catcode`\_=12
\def\#{^^^^f023}
\def\${^^^^f024}
\def\%{^^^^f025}
\def\&{^^^^f026}
\def\textbraceleft{^^^^f07b}
\def\textbraceright{^^^^f07d}
\def\textbackslash{^^^^f05c}
\def\heshe{\smash{\hbox to 0pt{\raise1ex\hbox{\footnotesize he}\hss}\lower.5ex\hbox{\footnotesize she}}}
\def\himher{\smash{\hbox to 0pt{\raise1ex\hbox{\footnotesize him}\hss}\lower.5ex\hbox{\footnotesize her}}}
\def\hisher{\smash{\hbox to 0pt{\raise1ex\hbox{\footnotesize his}\hss}\lower.5ex\hbox{\footnotesize her}}}
\tolerance=2000
% defining TeX-XeT primitives as macros --RP
\def\beginR{\bgroup\textdir TRT}
\def\endR{\egroup}
\def\beginL{\bgroup\textdir TLT}
\def\endL{\egroup}
\endinput