summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/lambda/base/omega.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-12 23:46:22 +0000
committerKarl Berry <karl@freefriends.org>2006-01-12 23:46:22 +0000
commit2a8c0210a3491a41c4ba672c46d215048947638c (patch)
treee918d71abd7c1b6c451ae80cce8b7c380bd3eed2 /Master/texmf-dist/tex/lambda/base/omega.sty
parent284b296e0d543a531f5e69ad826242a7a9e867ab (diff)
trunk/Master/texmf-dist/tex/lambda
git-svn-id: svn://tug.org/texlive/trunk@615 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/lambda/base/omega.sty')
-rw-r--r--Master/texmf-dist/tex/lambda/base/omega.sty133
1 files changed, 133 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/lambda/base/omega.sty b/Master/texmf-dist/tex/lambda/base/omega.sty
new file mode 100644
index 00000000000..00c88f42402
--- /dev/null
+++ b/Master/texmf-dist/tex/lambda/base/omega.sty
@@ -0,0 +1,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