summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/xelatex/quran-de/quran-de-test.tex
blob: 908b8fd7f01eda2149ffd4a64f24d9cf9c16fa7d (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
\documentclass{article}
\usepackage[margin=2cm]{geometry}
\usepackage{arabxetex} % for typesetting Arabic text in Rigth−To−Left direction
\usepackage[all, trans={fa,en,de,lt}]{quran-de} % trans={fa,en,de,lt} option would be sent to quran package

\newcommand{\compare}[1]{%
    \def\setTr##1{\par\deSetTrans{##1}\fbox{\makebox[2cm]{\deGetTrans}}}
    \noindent\hrulefill{\string #1}\hrulefill
    \setTr{aburida} #1
    \setTr{bubenheim} #1
    \setTr{khoury} #1
    \setTr{zaidan} #1
\par
}
\newcommand{\para}[2]{\noindent%
\begin{minipage}{.4\textwidth}
%\baselineskip=1.4\baselineskip
\begin{arab}#1\end{arab}
\end{minipage}\hfill
\begin{minipage}{.55\textwidth}
%\baselineskip=1.4\baselineskip
#2
\end{minipage}
}

\begin{document}

\para{\quranayah[Al-Ikhlas][1-4]}{\quranayahlt[Al-Ikhlas][1-4]}
\bigskip
\para{\quranayahfa[Al-Ikhlas][1-4]}{\quranayahen[Al-Ikhlas][1-4]}

\compare{\quransurahde*}
\compare{\quranayahde[1][1]}
\ToggleBasmalah
\compare{\quranpagede*[2]}

\end{document}