diff options
author | Karl Berry <karl@freefriends.org> | 2014-07-07 23:28:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-07-07 23:28:51 +0000 |
commit | 55703b1ac018841dbc6dc656b650d3be81856df9 (patch) | |
tree | b3116f6acfcc3817020db457417f6a79d58cb544 /Master/texmf-dist/doc/fonts/fonts-tlwg | |
parent | e3c158f0493ac33ab7c1b6bf343f0ef020be679e (diff) |
fonts-tlwg (7jul14)
git-svn-id: svn://tug.org/texlive/trunk@34542 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/fonts/fonts-tlwg')
-rw-r--r-- | Master/texmf-dist/doc/fonts/fonts-tlwg/README.latex | 96 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/fonts-tlwg/examples/teststd.tex | 56 |
2 files changed, 152 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/fonts/fonts-tlwg/README.latex b/Master/texmf-dist/doc/fonts/fonts-tlwg/README.latex new file mode 100644 index 00000000000..d22a99f9802 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/fonts-tlwg/README.latex @@ -0,0 +1,96 @@ +%% This file is a part of fonts-tlwg package. + +Fonts-TLWG is a collection of Thai scalable fonts available under free +licenses. Its goal is to provide fonts that conform to existing standards +and recommendations, so that it can be a reference implementation. + +It has been made available for use with pdfLaTeX. To use it, you can use +the fonts-tlwg package by declaring like this in document preamble: + + \usepackage{fonts-tlwg} + +OPTIONS +------- + +Options are also available so that you can choose default fonts for use +in the document when switching to Thai in Babel: + +* Using sans-serif font instead of roman: + + - sans : Use sans-serif font by default when switching to Thai. + +* Defining default roman, sans-serif, and teletype fonts: + + - rmkinnari : Use "kinnari" as the default roman family. + - rmnorasi : Use "norasi" as the default roman family. + - sfgaruda : Use "garuda" as the default sans-serif family. + - sflaksaman : Use "laksaman" as the default sans-serif family. + - sfumpush : Use "umpush" as the default sans-serif family. + - sfloma : Use "loma" as the default sans-serif family. + - sfwaree : Use "waree" as the default sans-serif family. + - ttttype : Use "ttype" as the default teletype family. + - ttttypist : Use "ttypist" as the default teletype family. + + These options do not change the default Thai font for the document. + They only define the default Thai fonts of the three families for use + in the document. + +* Definging the default font for the document: + + - kinnari : Use "kinnari" as the default font of the document. + - garuda : Use "garuda" as the default font of the document. + - norasi : Use "norasi" as the default font of the document. + - laksaman : Use "laksaman" as the default font of the document. + - loma : Use "loma" as the default font of the document. + - purisa : Use "purisa" as the default font of the document. + - sawasdee : Use "sawasdee" as the default font of the document. + - ttype : Use "ttype" as the default font of the document. + - ttypist : Use "ttypist" as the default font of the document. + - umpush : Use "umpush" as the default font of the document. + - waree : Use "waree" as the default font of the document. + + These options define the default Thai font when switching to Thai language + in Babel. They do not define fonts for the three families. + +Example: + +* To use "laksaman" font all over the document (e.g. in Thai official letters): + + \usepackage[laksaman]{fonts-tlwg} + +* To use "kinnari" as roman font instead of the default "norasi": + + \usepackage[rmkinnari]{fonts-tlwg} + +* To typeset document with sans-serif font instead of roman: + + \usepackage[sans]{fonts-tlwg} + +* To use "laksaman" as default font, allowing "kinnari" in roman text: + + \usepackage[sans,sflaksaman,rmkinnari]{fonts-tlwg} + + or: + + \usepackage[laksaman,rmkinnari]{fonts-tlwg} + + +\USEFONT COMMAND +---------------- + +You can still use the \usefont command where you want specific fonts in your +text portions, for example: + +* To use "garuda" font with medium weight and normal shape: + + \usefont{LTH}{garuda}{m}{n} + +* To use "kinnari" font with bold weight and italic shape: + + \usefont{LTH}{kinnari}{b}{it} + +* To use "umpush" font with light weight (available for "umpush" only) and + slant shape: + + \usefont{LTH}{umpush}{l}{sl} + diff --git a/Master/texmf-dist/doc/fonts/fonts-tlwg/examples/teststd.tex b/Master/texmf-dist/doc/fonts/fonts-tlwg/examples/teststd.tex index f08c80842de..a5f4050a0bb 100644 --- a/Master/texmf-dist/doc/fonts/fonts-tlwg/examples/teststd.tex +++ b/Master/texmf-dist/doc/fonts/fonts-tlwg/examples/teststd.tex @@ -65,6 +65,7 @@ \hspace*{.2\textwidth}\usefont{LTH}{kinnari}{m}{n}แบบอักษรไทยใน \LaTeX\\ \hspace*{.2\textwidth}\usefont{LTH}{garuda}{m}{n}แบบอักษรไทยใน \LaTeX\\ \hspace*{.2\textwidth}\usefont{LTH}{norasi}{m}{n}แบบอักษรไทยใน \LaTeX\\ +\hspace*{.2\textwidth}\usefont{LTH}{laksaman}{m}{n}แบบอักษรไทยใน \LaTeX\\ \hspace*{.2\textwidth}\usefont{LTH}{ttype}{m}{n}แบบอักษรไทยใน \LaTeX\\ \hspace*{.2\textwidth}\usefont{LTH}{ttypist}{m}{n}แบบอักษรไทยใน \LaTeX\\ \hspace*{.2\textwidth}\usefont{LTH}{purisa}{m}{n}แบบอักษรไทยใน \LaTeX\\ @@ -273,6 +274,61 @@ \vfil\pagebreak +\section{\usefont{LTH}{laksaman}{b}{n}Laksaman -- ลักษมัณ\protect\footnote{ดัดแปลงจาก TH Sarabun New ของคุณศุภกิจ เฉลิมลาภ}} + +\subsection{ตัวอย่างประโยคภาษาไทย} + +\testthaipoem{laksaman}{m}{n} + +\testthaipoem{laksaman}{b}{n} + +\testthaipoem{laksaman}{m}{it} + +\testthaipoem{laksaman}{b}{it} + +\subsection{ตัวอย่างภาษาอังกฤษ} + +\testenglish{laksaman}{m}{n} + +\testenglish{laksaman}{b}{n} + +\testenglish{laksaman}{m}{it} + +\testenglish{laksaman}{b}{it} + +\testEnglish{laksaman}{m}{n} + +\testEnglish{laksaman}{b}{n} + +\testEnglish{laksaman}{m}{it} + +\testEnglish{laksaman}{b}{it} + + +\subsection{การจัดระดับตัวอักษรและตัวอักษรพิเศษ} + +\testligkern{laksaman}{m}{n} + +\testligkern{laksaman}{b}{n} + +\testligkern{laksaman}{m}{it} + +\testligkern{laksaman}{b}{it} + + +\subsection{ภาษาบาลี-สันสกฤต} + +\testpali{laksaman}{m}{n} + +\testpali{laksaman}{b}{n} + +\testpali{laksaman}{m}{it} + +\testpali{laksaman}{b}{it} + +\vfil\pagebreak + + \section{\usefont{LTH}{ttype}{b}{n}Tlwg Typewriter\protect\footnote{โดย Thai Linux Working Group (TLWG)}} \subsection{ตัวอย่างประโยคภาษาไทย} |