summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/thailatex/README
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/thailatex/README')
-rw-r--r--Master/texmf-dist/source/latex/thailatex/README29
1 files changed, 19 insertions, 10 deletions
diff --git a/Master/texmf-dist/source/latex/thailatex/README b/Master/texmf-dist/source/latex/thailatex/README
index b1a477bf11e..6320c5c74ce 100644
--- a/Master/texmf-dist/source/latex/thailatex/README
+++ b/Master/texmf-dist/source/latex/thailatex/README
@@ -1,26 +1,35 @@
-%% This file is a part of thailatex package ver 0.2.2-pre4
+%% This file is a part of thailatex package
thailatex is a Thai package which enables typesetting Thai with LaTeX's
standard document classes. It is meant to become a part of "babel",
a multilingual package for LaTeX which supports a lot of non-American
languages.
-Usage
-In LaTeX2e, you can tell LaTeX that the document would be written in
-Thai by adding 2 lines in the preamble as follows:
+* Usage
-\usepackage[thai]{babel}
-\usepackage{thswitch}
+In LaTeX2e, you can tell LaTeX that the document would be written in Thai by
+using the "babel" package with "thai" option, as follows:
+
+ \usepackage[thai]{babel}
+
+In case you want to use UTF-8 encoding, use the 'inputenc' package like this:
+
+ \usepackage[utf8x]{inputenc}
+
+To use Thai fonts, such as "fonts-tlwg", just use the font package:
+
+ \usepackage{fonts-tlwg}
An example of using thailatex can be found in the file 'orchid.tex'.
-If you patch babel.sty with the script patch-babel located in babel
+If you patch babel.sty with the script sync-babel located in babel
directory distributed with the source. You may use babel as follows:
-\document[thai]{article}
+ \document[thai]{article}
-\usepackage{babel}
-\usepackage{thswitch}
+ \usepackage{babel}
+ \usepackage[utf8x]{inputenc}
+ \usepackage{fonts-tlwg}
Note that option [thai] will be passed to babel after it is patched.
You may have to repatch babel.sty again if you reinstall LaTeX.