summaryrefslogtreecommitdiff
path: root/macros/unicodetex/latex/quran/doc/quran-test1.tex
blob: cfacb4c87ff64dd5fb892da9c753c0b9b176d173 (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
\documentclass[12pt]{article}

%%% for typesetting arabic text
\usepackage{polyglossia}
\setotherlanguage{arabic}
\usepackage{fontspec}
\setmainfont{Scheherazade}

\usepackage[uthmani, wordwise, ornbraces, nonumber]{quran}
%%% for typesetting in Rigth-To-Left direction
\usepackage{bidi}

\parindent=0pt
\pagestyle{empty}
\begin{document}
\setRTL

\section{\LRE{Getting a Portion of an Ayah/Ayat}}
\textarabic{\quranayah[92][1-21][22-32]+}
\textarabic{\quranayah[92][1-21][73]}

\section{\LRE{Changing the Ornamental Braces}}

\SetOrnamentalBraces{[[}{]]}
\textarabic{\quranayah*[2][286][5-24]+}

\section{\LRE{Toggling the Effect of Ayah Number}}
\ToggleAyahNumber
\textarabic{\qurantext*[1-7][28]+}

\section{\LRE{Toggling the Effect of Basmalah}}
\ToggleBasmalah
\textarabic{\quransurah*[110-114]}

\end{document}