summaryrefslogtreecommitdiff
path: root/language/arabic/dad/dad.sty
blob: 336dc01bbe1aa23f0ca89a5a7b6f94f3c00befcf (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
%%% ====================================================================
%%%  @LaTeX-style-file{
%%%     filename        = "dad.sty",
%%%     version         = "1.2",
%%%     date            = "2017/05/20",
%%%     author          = "Yannis Haralambous",
%%%     copyright       = "This file is part of the dad package, released
%%%                        under the LPPL."
%%%     keywords        = "TeX, file header,
%%%     supported       = "yes",
%%%     abstract        = "This is the LaTeX style file of the dad
%%%       system for typesetting in the Arabic language.",
%%%  }
%%% ====================================================================
\RequirePackage{luatex85}
\long\def\arab#1{\bgroup\language-1\fontencoding{OT1}\fontfamily{dad}\selectfont\textdir TRT#1\egroup}
\def\arabttexample#1{\arab{#1} $=$ \texttt{#1}}
\long\def\arabtt#1{\bgroup\language-1\fontencoding{OT1}\fontfamily{dad}\fontshape{mono}\selectfont\textdir TRT#1\egroup}
\def\kesh{\leavevmode\leaders\hrule height \fontdimen8\font\hfill\kern0pt}
\def\arabttsep#1#2{\arab{#1} $=$ \texttt{#2}}
\def\arabdottedcircle{^^^^00fb}
\catcode"0626=11
\catcode"0627=11
\catcode"0629=11
\catcode"0631=11
\catcode"062F=11
\catcode"0644=11
\catcode"0647=11
\def\لله#1{L#1Lh}
\def\دائرة{^^^^00fb}
\endinput