summaryrefslogtreecommitdiff
path: root/language/arabic/arabi/arabi/texmf/latex/arabi/lagally.sty
blob: fb2d471dfb551439fd8c9f1b58084893383df488 (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

%\ifx \ar@batcode \undefined \else 
%\message{ArabTeX is aleready loaded, No support is provided} 
%\message{with ArabTeX 7 bit input encoding}\expandafter \endinput
%\fi 



%%%%%%%%%%%%%%%%%%%%%%%%%% to test with ArabTeX input %%%%%%%%%%%%%%

\initiate@active@char{_}
\initiate@active@char{^}
\initiate@active@char{.}
\initiate@active@char{'}


\expandafter\addto\csname extrasarabic\endcsname{%
  \bbl@activate{_}\bbl@activate{^}\bbl@activate{.}\bbl@activate{'} 
%  
  }


\expandafter\addto\csname noextrasarabic\endcsname{%
  \bbl@deactivate{_}\bbl@deactivate{^}\bbl@deactivate{.}\bbl@deactivate{'} 
%  
}
  
  

\declare@shorthand{arabic}{_h}{%g
\textormath{\kha}{\sb{h}}}%
\declare@shorthand{arabic}{_t}{%g
\textormath{\thaa}{\sb{t}}}%
\declare@shorthand{arabic}{_d}{%g
\textormath{\dhal}{\sb{d}}}%
\declare@shorthand{arabic}{_A}{%g
\textormath{\alefmaqsura}{\sb{A}}}%
\declare@shorthand{arabic}{_a}{%g
\textormath{\keshchar}{\sb{a}}}%

\declare@shorthand{arabic}{^g}{%g
\textormath{\jeem}{\sp{g}}}%
\declare@shorthand{arabic}{^s}{%g
\textormath{\sheen}{\sp{s}}}%

\declare@shorthand{arabic}{.g}{%g
\textormath{\ghayn}{.g}}%
\declare@shorthand{arabic}{.h}{%g
\textormath{\Haa}{.h}}%
\declare@shorthand{arabic}{.s}{%g
\textormath{\sad}{.s}}%
\declare@shorthand{arabic}{.d}{%g
\textormath{\dad}{.d}}%
\declare@shorthand{arabic}{.t}{%g
\textormath{\Ta}{.t}}%
\declare@shorthand{arabic}{.z}{%g
\textormath{\za}{.z}}%

\declare@shorthand{arabic}{'a}{%g
\textormath{\alefhamza\ifx\vocalizetrue\fatha\fi}{'a}}%
\declare@shorthand{arabic}{'u}{%g
\textormath{\alefhamza\ifx\vocalizetrue\damma\fi}{'u}}%
\declare@shorthand{arabic}{'i}{%g
\textormath{\aleflowerhamza\ifx\vocalizetrue\kasra\fi}{'i}}%


\declare@shorthand{arabic}{^u}{%g latin chars
\textormath{\relax\damma}{}}%


\addto\extrasarabic{\languageshorthands{arabic}}%




\endinput