[XeTeX] LaTeX features in XeTeX

William Adams will.adams at frycomm.com
Mon Jan 22 20:13:01 CET 2007


On Jan 22, 2007, at 1:05 PM, Nicholas Wilson wrote:

> So is xelatex another mode of xetex, or another programme I am  
> missing?

xelatex is xetex after loading the LaTeX macro package / format. This  
is a pretty basic concept which should be explained by any LaTeX  
introduction/tutorial.

The build-script should create this format, so you should be able to  
just use ``xelatex'' on documents like:

%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass{minimal}
%\usepackage{fontspec}
%\setromanfont{Hoefler Text}
\begin{document}
This is set in Computer Modern. It would be Hoefler Text, if the  
second and third lines above were uncommented \emph{and} that font  
were available.
\end{document}

The first two comment lines make TeXshop in Mac OS X choose the  
proper format and encoding when working with the file --- not sure if  
one can set things similarly on other platforms or no.

William

-- 
William Adams
senior graphic designer
Fry Communications



This email message and any files transmitted with it contain information
which is confidential and intended only for the addressee(s). If you are
not the intended recipient(s), any usage,  dissemination, disclosure, or
action taken in  reliance on it is prohibited.  The reliability of  this
method of communication cannot be guaranteed.  Email can be intercepted,
corrupted, delayed, incompletely transmitted, virus-laden,  or otherwise
affected during transmission. Reasonable steps have been taken to reduce
the risk of viruses, but we cannot accept liability for damage sustained
as a result of this message. If you have received this message in error,
please immediately delete it and all copies of it and notify the sender.


More information about the XeTeX mailing list