]> git.lyx.org Git - lyx.git/blob - src/tex2lyx/test/XeTeX-polyglossia.tex
- tex2lyx: support for the polyglossia language variants
[lyx.git] / src / tex2lyx / test / XeTeX-polyglossia.tex
1 \documentclass{article}
2 \usepackage{fontspec}
3 \setmainfont{Aharoni}
4 \setsansfont[Mapping=tex-text]{AngsanaUPC}
5 \setmonofont{Arial Black}
6 \usepackage{xunicode}
7 \usepackage{polyglossia}
8 \setdefaultlanguage[variant=british, ordinalmonthday = false]{english}
9 \setotherlanguage{albanian}
10 \setotherlanguage[variant=polytonic]{greek}
11 \setotherlanguage{syriac}
12 \begin{document}
13
14 \part{df}
15
16 1 English \textgreek[variant=ancient]{ancient Greek} English
17 \textgreek[numerals=arabic, variant=ancient]{ancient Greek with Arabic numerals} English
18
19 \begin{albanian}%
20
21 \part{df}
22
23 2 Albanian \textgreek{Greek} Albanian \textsc{smallcaps}
24
25 \end{albanian}%
26 \begin{syriac}%
27
28 \part{df}
29
30 3 Syriac
31
32 \end{syriac}%
33
34 %empty language paragraph
35 \begin{albanian}%
36 \end{albanian}%
37
38 \end{document}