diff options
Diffstat (limited to 'macros/xetex/latex/xepersian-hm/kashida-xep-XB-example.tex')
-rw-r--r-- | macros/xetex/latex/xepersian-hm/kashida-xep-XB-example.tex | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/macros/xetex/latex/xepersian-hm/kashida-xep-XB-example.tex b/macros/xetex/latex/xepersian-hm/kashida-xep-XB-example.tex new file mode 100644 index 0000000000..f623cb26e6 --- /dev/null +++ b/macros/xetex/latex/xepersian-hm/kashida-xep-XB-example.tex @@ -0,0 +1,71 @@ +\documentclass{report} +\usepackage[Kashida=on]{xepersian} +\settextfont[Scale=4.5]{XB Kayhan} +\setlatintextfont[Scale=1.5,Colour=0000FF]{XB Kayhan} + +\defpersianfont\XBKayhanIt[Scale=4.5]{XB Kayhan Italic} +\defpersianfont\XBKayhanOb[Scale=4.5]{XB Zar Oblique} +\defpersianfont\XBKayhanOl[Scale=4.5]{XB Kayhan Pook} +\defpersianfont\XBKayhanSd[Scale=4.5]{XB Kayhan Sayeh} + +\def\SampleText{ + راهی جایی تابی چاپی چاههی تلاشهایی + شتابهایی تابی چاپی راهی تلاشهــایی + که کتابهایی که کلاههایی که کتابهایی } + +\setlength\parindent{0pt} +\pagestyle{empty} + +\begin{document} + +\begin{latin} +\begin{center} +\Huge\textsf{xepersian}\vspace{20pt}\\ Example of Use\vspace{20pt}\\ \texttt{Kashida=hrule} \vspace{40pt} + +{\Large +\begin{tabular}{ll} + \textsf{Font:} & \textsf{XB Kayhan} \\ + \textsf{Font Scale:} & \texttt{4.5} \\ +\end{tabular} +} +\end{center} + +\end{latin} + +\newpage + +\KashidaOff{\hfill\lr{(Kashida Off, Regular)}\hfill} + +\SampleText + +\newpage + +\KashidaOn{\hfill\lr{(Kashida On, Regular)}\hfill} + +\SampleText + +\newpage + +\KashidaOn{\hfill\lr{(Kashida On, Italic)}\hfill} + +{\XBKayhanIt \SampleText} + +\newpage + +\KashidaOn{\hfill\lr{(Kashida On, Oblique)}\hfill} + +{\XBKayhanOb \SampleText} + +\newpage + +\KashidaOn{\hfill\lr{(Kashida On, Pook)}\hfill} + +{\XBKayhanOl \SampleText} + +\newpage + +\KashidaOn{\hfill\lr{(Kashida On, Sayeh)}\hfill} + +{\XBKayhanSd \SampleText} + +\end{document} |