summaryrefslogtreecommitdiff
path: root/language/arabic/dad/dad.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /language/arabic/dad/dad.sty
Initial commit
Diffstat (limited to 'language/arabic/dad/dad.sty')
-rw-r--r--language/arabic/dad/dad.sty31
1 files changed, 31 insertions, 0 deletions
diff --git a/language/arabic/dad/dad.sty b/language/arabic/dad/dad.sty
new file mode 100644
index 0000000000..336dc01bbe
--- /dev/null
+++ b/language/arabic/dad/dad.sty
@@ -0,0 +1,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 \ No newline at end of file