Debian Codegraph @

texmf-dist/doc/support/upmendex/present/src/th01.tex

raw
1 \documentclass[12pt]{article}
2
3 \usepackage{fontspec}
4 \usepackage{polyglossia}
5
6 \usepackage{makeidx}
7 \makeindex
8
9 \setdefaultlanguage{thai}
10 \setromanfont{Noto Serif}
11 %\setmainfont{Noto Serif}
12 \setsansfont{Noto Serif}
13 \setmainfont{Noto Serif Thai}[Language=Thai,Script=Thai]
14 \newfontfamily\englishfont{Noto Serif}
15 \setotherlanguage{english}
16
17 \pagestyle{empty}
18 \begin{document}
19 \thispagestyle{empty}
20
21 หมา\index{หมา}
22 หมู\index{หมู}
23 แมว\index{แมว}
24 ไม่มีปัญหา\index{ไม่มีปัญหา}
25 มา\index{มา}
26 ห\index{ห}
27 ม\index{ม}
28
29 \printindex
30
31 \end{document}
32
33 \index{}.