]> git.lyx.org Git - lyx.git/blob - src/tex2lyx/test/XeTeX-polyglossia.tex
- Preamble.cpp: handle \setxxxlanguage with options
[lyx.git] / src / tex2lyx / test / XeTeX-polyglossia.tex
1 \documentclass[albanian]{article}
2 \usepackage{fontspec}
3 \setmainfont[Mapping=tex-text]{Aharoni}
4 \setsansfont[Mapping=tex-text]{AngsanaUPC}
5 \setmonofont{Arial Black}
6 \usepackage{xunicode}
7 \usepackage{polyglossia}
8 \setdefaultlanguage{coptic}
9 \setotherlanguage{albanian}
10 \setotherlanguage{divehi}
11 \setotherlanguage[variant=monotonic]{greek}
12 \setotherlanguage{syriac}
13 \begin{document}
14
15 \part{df}
16
17 1 Coptic \textgreek[variant=ancient]{ancient Greek} Coptic
18
19 \begin{albanian}%
20
21 \part{df}
22
23 2 Albanian \textgreek{Greek} Albanian \textsc{smallcaps}
24
25 \end{albanian}%
26 \begin{divehi}%
27
28 \part{df}
29
30 3
31
32 \end{divehi}%
33 \begin{syriac}%
34
35 \part{df}
36
37 4
38
39 \end{syriac}%
40 \begin{divehi}%
41
42 \part{df}
43
44 5
45 \end{divehi}%
46
47 %empty language paragraph
48 \begin{albanian}%
49 \end{albanian}%
50
51 \end{document}