% 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
