1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
5 \save_transient_properties true
8 \use_default_options true
9 \maintain_unincluded_children false
11 \language_package default
14 \font_roman "lmodern" "Norasi"
15 \font_sans "default" "Garuda"
16 \font_typewriter "default" "Tlwg Mono"
17 \font_math "auto" "auto"
18 \font_default_family default
19 \use_non_tex_fonts false
22 \font_sf_scale 100 100
23 \font_tt_scale 100 100
25 \use_dash_ligatures true
27 \default_output_format default
29 \bibtex_command default
30 \index_command default
31 \float_placement class
32 \float_alignment class
33 \paperfontsize default
38 \use_package amsmath 1
39 \use_package amssymb 1
42 \use_package mathdots 1
43 \use_package mathtools 1
45 \use_package stackrel 1
46 \use_package stmaryrd 1
47 \use_package undertilde 1
49 \cite_engine_type default
53 \paperorientation portrait
64 \paragraph_separation indent
65 \paragraph_indentation default
67 \math_numbering_side default
72 \paperpagestyle default
74 \tracking_changes false
83 \begin_layout Subsection*
84 Test workaround for Thai language
87 \begin_layout Standard
88 Up to version 2013/03/31 v1.8, Babel’s “thai.ldf” changes character categories
89 and the definitions for up-/dowcasing of letters (catcode, uccode, lccode)
95 As a result, high bit characters come out wrong in the output.
96 UTF8 encoded characters are not parsed but interpreted as byte (=character)
100 \begin_layout Quotation
107 \begin_layout Plain Layout
119 \begin_layout Quotation
126 \begin_layout Plain Layout
138 \begin_layout Quotation
145 \begin_layout Plain Layout
161 \begin_layout Standard
166 characters are written
169 \begin_layout Quotation
170 A0 ¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ ® ¯
173 \begin_layout Quotation
174 B0 ° ± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿
177 \begin_layout Quotation
178 C0 À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï
181 \begin_layout Quotation
182 D0 Ð Ñ Ò Ó Ô Õ Ö × Ø Ù Ú Û Ü Ý Þ ß
185 \begin_layout Quotation
186 E0 à á â ã ä å æ ç è é ê ë ì í î ï
189 \begin_layout Quotation
190 F0 ð ñ ò ó ô õ ö ÷ ø ù ú û ü ý þ ÿ
193 \begin_layout Itemize
194 catcode 11 or 12 means, the characters are directly passed to the font and
195 come out wrong when the T1 font encoding differs from latin9.
198 \begin_layout Itemize
199 uc/lccode changes prevent up/downcasing of high-bit characters
200 \begin_inset Newline newline
204 \begin_inset Formula $→$
211 \begin_layout Plain Layout
224 \begin_layout Plain Layout
232 \begin_inset Formula $→$
239 \begin_layout Plain Layout
252 \begin_layout Plain Layout
262 \begin_layout Standard
265 Setting the text language to Thai:
268 \begin_layout Quotation
277 \begin_layout Plain Layout
289 \begin_layout Quotation
298 \begin_layout Plain Layout
310 \begin_layout Quotation
319 \begin_layout Plain Layout
335 \begin_layout Standard
338 Non-ASCII characters are mis-represented because the bytes are passed to
339 the (Thai) font as-is:
342 \begin_layout Quotation
345 A0 ¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ ® ¯
348 \begin_layout Quotation
351 B0 ° ± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿
354 \begin_layout Quotation
357 C0 À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï
360 \begin_layout Quotation
364 \begin_inset Note Note
367 \begin_layout Plain Layout
375 Ñ Ò Ó Ô Õ Ö × Ø Ù Ú Û Ü Ý
376 \begin_inset Note Note
379 \begin_layout Plain Layout
390 \begin_layout Quotation
393 E0 à á â ã ä å æ ç è é ê ë ì í î ï
396 \begin_layout Quotation
400 \begin_inset Note Note
403 \begin_layout Plain Layout
411 ñ ò ó ô õ ö ÷ ø ù ú û ü ý
412 \begin_inset Note Note
415 \begin_layout Plain Layout
426 \begin_layout Standard
427 Example text in Thai.
428 Emphasizing works, if
429 \begin_inset Quotes eld
433 \begin_inset Quotes erd
453 เป็นภาษาราชการและภาษาประจำชาติของประเทศไทย ภาษาไทยเป็นภาษาในกลุ่มภาษาไท
454 ซึ่งเป็นกลุ่มย่อยของตระกูลภาษาไท-กะได สันนิษฐานว่า ภาษาในตระกูลนี้มีถิ่นกำเนิดจ
455 ากทางตอนใต้ของประเทศจีน และนักภาษาศาสตร์บางส่วนเสนอว่า ภาษาไทยน่าจะมีความเชื่อมโ
456 ยงกับตระกูลภาษาออสโตร-เอเชียติก ตระกูลภาษาออสโตรนีเซียน และตระกูลภาษาจีน-ทิเบต