diff options
author | Karl Berry <karl@freefriends.org> | 2009-10-05 20:25:49 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-10-05 20:25:49 +0000 |
commit | 99e1099e798981a0566993ff2d6b28cc1f911daa (patch) | |
tree | c5716915d9b7bcb4a9cbd4927b3565cfe5f0bc3e /Master/texmf-dist/doc/xetex/xetexref | |
parent | b473633ebb8fbf1c348712573500af5cefdc2416 (diff) |
xetexref update (5oct09)
git-svn-id: svn://tug.org/texlive/trunk@15647 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/xetex/xetexref')
-rw-r--r-- | Master/texmf-dist/doc/xetex/xetexref/XeTeX-reference.ltx | 52 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xetex/xetexref/XeTeX-reference.pdf | bin | 132786 -> 133950 bytes |
2 files changed, 36 insertions, 16 deletions
diff --git a/Master/texmf-dist/doc/xetex/xetexref/XeTeX-reference.ltx b/Master/texmf-dist/doc/xetex/xetexref/XeTeX-reference.ltx index 5310c56cf90..914276bcbe9 100644 --- a/Master/texmf-dist/doc/xetex/xetexref/XeTeX-reference.ltx +++ b/Master/texmf-dist/doc/xetex/xetexref/XeTeX-reference.ltx @@ -84,6 +84,7 @@ \begin{document} \title{The \texorpdfstring{\XeTeX}{XeTeX} reference guide} \author{Will Robertson} +\date{October 5, 2009} \maketitle \vfill @@ -167,6 +168,16 @@ Triple pair of hex values to specify the colour in RGB space, with an optional v \item[letterspace=$x$] Adds $x/S$ space between letters in words, where $S$ is the font size. + +\item[embolden=$x$] +Increase the envelope of each glyph by the set amount (this makes the letters look `more bold'). $x=0$ corresponds to no change; $x=1.5$ is a good default value. + +\item[extend=$x$] +Stretch each glyph horizontally by a factor of $x$ (i.e., $x=1$ corresponds to no change). + +\item[slant=$x$] +Slant each glyph by the set amount. $x=0$ corresponds to no change; $x=0.2$ is a good default value. + \end{optdesc} \subsubsection{OpenType script and language support}\seclabel{script} @@ -514,44 +525,53 @@ The idea behind character classes is to define a boundary where tokens can be ad \desc{Counter. If positive, enables the character classes functionality.} \endcmd +\cmd|\newXeTeXintercharclass| +\xarg{control sequence} +\desc{Allocates a new interchar class and assigns it to the \xarg{control sequence} argument.} +\endcmd + \cmd|\XeTeXcharclass| \xarg{char slot} \opteq -\xarg{class number} -\desc{Assigns a class corresponding to \xarg{class number} (range 0--255) to a \xarg{char slot}. Most characters are class 0 by default. Class 1 is for CJK ideographs, classes 2 and 3 are CJK punctuation. The boundary of a text string is considered class 255, wherever there is a boundary between a `run' of characters and something else --- glue, kern, math, box, etc. Special case class 256 is ignored; useful for diacritics so I'm told.} +\xarg{interchar class} +\desc{Assigns a class corresponding to \xarg{interchar class} (range 0--255) to a \xarg{char slot}. Most characters are class 0 by default. Class 1 is for CJK ideographs, classes 2 and 3 are CJK punctuation. The boundary of a text string is considered class 255, wherever there is a boundary between a `run' of characters and something else --- glue, kern, math, box, etc. Special case class 256 is ignored; useful for diacritics so I'm told.} \endcmd \cmd|\XeTeXinterchartoks| -\xarg{class num. 1} -\xarg{class num. 2} +\xarg{interchar class 1} +\xarg{interchar class\ 2} \opteq |{|\xarg{token list}|}| -\desc{Defines tokens to be inserted at the interface between \xarg{class num. 1} and \xarg{class num. 2} (in that order).} +\desc{Defines tokens to be inserted at the interface between \xarg{interchar class 1} and \xarg{interchar class 2} (in that order).} \endcmd \begin{example} \XeTeXinterchartokenstate = 1 -\XeTeXcharclass `\a 7 -\XeTeXcharclass `\A 8 -\XeTeXcharclass `\B 9 +\newXeTeXintercharclass \mycharclassa +\newXeTeXintercharclass \mycharclassA +\newXeTeXintercharclass \mycharclassB +\XeTeXcharclass `\a \mycharclassa +\XeTeXcharclass `\A \mycharclassA +\XeTeXcharclass `\B \mycharclassB % between "a" and "A": -\XeTeXinterchartoks 7 8 = {[\itshape} -\XeTeXinterchartoks 8 7 = {\upshape]} +\XeTeXinterchartoks \mycharclassa \mycharclassA = {[\itshape} +\XeTeXinterchartoks \mycharclassA \mycharclassa = {\upshape]} -% between " " and "A": -\XeTeXinterchartoks 255 9 = {\bgroup\color{blue}} -\XeTeXinterchartoks 9 255 = {\egroup} +% between " " and "B": +\XeTeXinterchartoks 255 \mycharclassB = {\bgroup\color{blue}} +\XeTeXinterchartoks \mycharclassB 255 = {\egroup} % between "B" and "B": -\XeTeXinterchartoks 9 9 = {.} +\XeTeXinterchartoks \mycharclassB \mycharclassB = {.} aAa A a B aBa BB \end{example} -In the above example the input text is typeset as\\ -{\null\hfill\small\verb|a[\itshape A\unshape]a A a \bgroup\color{blue}B\egroup aBa B.B|} +\noindent In the above example the input text is typeset as\par +{\centering\verb|a[\itshape A\unshape]a A a \bgroup\color{blue}B\egroup aBa B.B|\par} +\newpage \section{Encodings} \cmd|\XeTeXinputencoding| diff --git a/Master/texmf-dist/doc/xetex/xetexref/XeTeX-reference.pdf b/Master/texmf-dist/doc/xetex/xetexref/XeTeX-reference.pdf Binary files differindex 087715bc8ed..b839eefcd55 100644 --- a/Master/texmf-dist/doc/xetex/xetexref/XeTeX-reference.pdf +++ b/Master/texmf-dist/doc/xetex/xetexref/XeTeX-reference.pdf |