summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/xelatex/arabxetex/examples/minimal.tex
blob: cafe0418768dc33acde6a7386ca0f9eb9fc91738 (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
\documentclass{minimal}
\usepackage{arabxetex} % default option is "novoc"
                       % other options are "voc", "fullvoc", "utf" and "trans"
% arabxetex loads bidi.sty and fontspec.sty		       
 
\newfontfamily\arabicfont[Script=Arabic]{Amiri}
% you can also define \farsifont, \uighurfont, etc if you want
\begin{document}
This is some text in English with Arabic insertion \textarab{`arabI}.

This is some text in English with Arabic insertion \textarab[utf]{عربي}.

This is some text in English with Arabic insertion \textarab[voc]{`arabI}.

\begin{arab}
wa-ha_dihi fiqraT"uN bi-al-`arabiyaT ma`a kalimaT inklIziyaT (\textLR{English}).
\end{arab}

\begin{arab}[utf]
وهذه فقرةٌ بالعربية مع كلمة انكليزية (\textLR{English}).
\end{arab}

\begin{arab}[novoc]
وَهَذِهِ فِقرَةٌ بِالعَرَبِيَة مَعَ كَلِمَة اِنكلِيزِيَة (\textLR{English}).
\end{arab}
\end{document}