diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/jknapltx/semtrans.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/jknapltx/semtrans.sty | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/jknapltx/semtrans.sty b/Master/texmf-dist/tex/latex/jknapltx/semtrans.sty new file mode 100644 index 00000000000..31968cc3458 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jknapltx/semtrans.sty @@ -0,0 +1,46 @@ +% semtrans.sty +% Transliteration of semitc languages (arabic, hebrew, ethiopian languages) + +% (\textcopyleft) Copyleft 1997 J"org Knappen +% Licence: GNU licence version 2 + +% The following commands are defined: +% \Alif, \Ayn left and right half ring +% \U breve below (e. g. \U h) +% \D diaeresis below (e. g. \D d: Oromo retroflex d) +% \T turn a letter (e. g. \T e: schwa) +% For the turning of letters, the package fraphicx is required. + +\ProvidesPackage{semtrans}% + [1998/02/10 v 1.0 specials for transliterated semitic languages (jk)] +\RequirePackage{graphicx} + +% Alif, Ayn and \U are from the exotex package by Peter S. Olivier +% 1988/08/08 + +% Definitions translated into LaTeX2e by JK + +% \mathchardef\lhook="012C \mathchardef\rhook="012D +% \def\ain{\kern+1pt$\lhook$} \def\alef{\kern+1pt$\rhook$} + +\DeclareMathSymbol{\lhook}{\mathord}{letters}{"02C} +\DeclareMathSymbol{\rhook}{\mathord}{letters}{"02D} + +\newcommand*\Alif{\kern.1ex$\rhook$} +\newcommand*\Ayn{\kern.1ex$\lhook$} + +% \U: breve below character + +\newcommand*\U[1]{\oalign{#1\crcr\hidewidth + \vbox to .2ex{\hbox{\u{}}\vss}\hidewidth}} + +% \D: diaeresis below character (modelled after \U) + +\newcommand*\D[1]{\oalign{#1\crcr\hidewidth + \vbox to .2ex{\hbox{\"{}}\vss}\hidewidth}} + +% \T: turn (=rotate 180 degrees) character + +\newcommand*\T[1]{\rotatebox[origin=cc]{180}{#1}} + +\endinput |