summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.tex')
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.tex14
1 files changed, 8 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.tex b/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.tex
index acefd404179..e4afddb406a 100644
--- a/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.tex
+++ b/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.tex
@@ -1,14 +1,15 @@
\documentclass[a4paper]{book}%
\usepackage[no-math]{fontspec}
\usepackage{xltxtra,url,amsmath}
-\usepackage[quiet]{polyglossia}
-\setdefaultlanguage[calendar=gregorian,hijricorrection=1,locale=mashriq]{arabic}
-\setotherlanguage[variant=british]{english}
-\setotherlanguage{farsi}
+\setromanfont{Linux Libertine}
\defaultfontfeatures{Scale=MatchLowercase}
\newfontfamily\arabicfont[Script=Arabic,Scale=1.3]{Scheherazade}%
\newfontfamily\arabicfonttt[Script=Arabic,Scale=.75]{DejaVu Sans Mono}
\newfontfamily\farsifont[Script=Arabic,Scale=1.1,WordSpace=2]{IranNastaliq}
+\usepackage[quiet]{polyglossia}
+\setdefaultlanguage[calendar=gregorian,hijricorrection=1,locale=mashriq]{arabic}
+\setotherlanguage[variant=british]{english}
+\setotherlanguage{farsi}
\parindent 0pt
\makeatletter
\makeatother
@@ -66,8 +67,9 @@ and in many international organisations.
\section{أعمال تأريخية \textenglish{(Calendar operations)}}
-\textenglish{\today} = \LR{\today} = \today\ = \Hijritoday\footnote{
- محسوب بـ \textenglish{\textsf{hijrical.sty}}}
+\textenglish[variant=us]{\today} = \LR{\today} = \today\ = \Hijritoday%\footnote{
+% محسوب بـ \textenglish{\textsf{hijrical.sty}}}
+\footnote{ What is this?}
%\newpage
\subsection{فلان}