diff options
author | Norbert Preining <norbert@preining.info> | 2020-03-23 03:02:41 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-03-23 03:02:41 +0000 |
commit | 404e90e73ebdb6ecca01ae0b18e684a5f8fe83b3 (patch) | |
tree | 0299674ee5045793cc18684fce643597555a7f88 /macros/xetex/latex/xepersian-hm/test-kashida.tex | |
parent | 75d8dfa80524727ddb7d8ae217ed6463efba84cf (diff) |
CTAN sync 202003230302
Diffstat (limited to 'macros/xetex/latex/xepersian-hm/test-kashida.tex')
-rw-r--r-- | macros/xetex/latex/xepersian-hm/test-kashida.tex | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/macros/xetex/latex/xepersian-hm/test-kashida.tex b/macros/xetex/latex/xepersian-hm/test-kashida.tex new file mode 100644 index 0000000000..d3492c93ef --- /dev/null +++ b/macros/xetex/latex/xepersian-hm/test-kashida.tex @@ -0,0 +1,32 @@ +% \PassOptionsToPackage{Kashida=off,RTLdocument=on}{xepersian} % Load xepersian with a few options +\documentclass{report} +\usepackage{xcolor} +% \usepackage[Kashida]{xepersian} % Fails +\usepackage[Kashida,kashidastretch=0.14 em plus 0.5 em]{xepersian-hm} % Succeeds +% \usepackage[Kashida,kashidastretch=noskip]{xepersian-hm} % Succeeds +% \usepackage[Kashida,kashidastretch=default]{xepersian-hm} % Succeeds +% \usepackage[Kashida,kashidastretch=kayhan]{xepersian-hm} % Succeeds +% \usepackage[Kashida,kashidastretch=khorramshahr]{xepersian-hm} % Succeeds + +% \settextfont[Scale=4.5,Colour=darkgray]{XB Kayhan} +\settextfont[Scale=4.5,Colour=darkgray]{HM XKayhan} +% \settextfont[Scale=4.5,Colour=darkgray]{HM XNiloofar} +% \settextfont[Scale=4.5,Colour=darkgray]{HM XYas} +% \settextfont[Scale=4.5,Colour=darkgray]{HM XZar} + +% \setlatintextfont[Scale=2.5,Colour=teal]{XB Kayhan} +\setlatintextfont[Scale=2.5,Colour=teal]{HM XKayhan} + +\def\SampleText{راهی جایی تابی چاپی چاههی تلاشهایی شتابهایی تابی چاپی راهی تلاشهــایی که کتابهایی که کلاههایی که} + +\setlength\parindent{0pt} +\pagestyle{empty} +\begin{document} +\color{red} + +\KashidaOff \SampleText \lr{(Kashida Off)~} + +\KashidaOn \SampleText \lr{(Kashida On)~} + +\end{document} + |