Debian Codegraph @

texmf-dist/tex/latex/jknapltx/semtrans.sty

raw
1 % semtrans.sty
2 % Transliteration of semitc languages (arabic, hebrew, ethiopian languages)
3
4 % (\textcopyleft) Copyleft 1997 J"org Knappen
5 % Licence: GNU licence version 2
6
7 % The following commands are defined:
8 % \Alif, \Ayn left and right half ring
9 % \U breve below (e. g. \U h)
10 % \D diaeresis below (e. g. \D d: Oromo retroflex d)
11 % \T turn a letter (e. g. \T e: schwa)
12 % For the turning of letters, the package fraphicx is required.
13
14 \ProvidesPackage{semtrans}%
15 [1998/02/10 v 1.0 specials for transliterated semitic languages (jk)]
16 \RequirePackage{graphicx}
17
18 % Alif, Ayn and \U are from the exotex package by Peter S. Olivier
19 % 1988/08/08
20
21 % Definitions translated into LaTeX2e by JK
22
23 % \mathchardef\lhook="012C \mathchardef\rhook="012D
24 % \def\ain{\kern+1pt$\lhook$} \def\alef{\kern+1pt$\rhook$}
25
26 \DeclareMathSymbol{\lhook}{\mathord}{letters}{"02C}
27 \DeclareMathSymbol{\rhook}{\mathord}{letters}{"02D}
28
29 \newcommand*\Alif{\kern.1ex$\rhook$}
30 \newcommand*\Ayn{\kern.1ex$\lhook$}
31
32 % \U: breve below character
33
34 \newcommand*\U[1]{\oalign{#1\crcr\hidewidth
35 \vbox to .2ex{\hbox{\u{}}\vss}\hidewidth}}
36
37 % \D: diaeresis below character (modelled after \U)
38
39 \newcommand*\D[1]{\oalign{#1\crcr\hidewidth
40 \vbox to .2ex{\hbox{\"{}}\vss}\hidewidth}}
41
42 % \T: turn (=rotate 180 degrees) character
43
44 \newcommand*\T[1]{\rotatebox[origin=cc]{180}{#1}}
45
46 \endinput