[XeTeX] XeTeX 0.994 for Mac OS X
Jonathan Kew
jonathan_kew at sil.org
Tue Jun 6 18:10:41 CEST 2006
There's a new version of XeTeX available for Mac OS X -- see <http://
scripts.sil.org/xetex>.
Version 0.994 fixes a couple of bugs that had showed up, and also
includes several new features: highlights include
- pdfTeX-style \pdfpageheight and \pdfpagewidth parameters to control
page size
- \pdfsavepos and \pdflast[xy]pos commands for position-dependent PDF
tricks
- \XeTeXfonttype\f returns an integer indicating what type of font \f is
- the \font command allows you to adjust the tracking/letterspacing
of the font
Simple example:
% - - - - - - - - - -
%!TEX encoding = UTF-8 Unicode
%!TEX TS-program = xetex
\nopagenumbers
\def\txt{The quick brown fox jumps over the lazy dog.\par}
\def\tryfont#1{
\font\X="#1:letterspace=-2.0" at 10pt \X \txt
\font\X="#1:letterspace=-1.0" at 10pt \X \txt
\font\X="#1:letterspace=-0.5" at 10pt \X \txt
\font\X="#1" at 10pt \X \txt
\font\X="#1:letterspace=0.5" at 10pt \X \txt
\font\X="#1:letterspace=1.0" at 10pt \X \txt
\font\X="#1:letterspace=2.0" at 10pt \X \txt
\font\X="#1:letterspace=4.0" at 10pt \X \txt
\font\X="#1:letterspace=6.0" at 10pt \X \txt
}
\tryfont{Hoefler Text}
\bigskip
\tryfont{Hoefler Text:Letter Case=Small Caps}
\bigskip
\tryfont{Hoefler Text:Letter Case=All Capitals}
\bye
% - - - - - - - - - -
More details to come, if the XeTeX Reference Manual ever gets
written..... ;-)
JK
More information about the XeTeX
mailing list