[XeTeX] Fonts : test

Philip TAYLOR (Webmaster, Ret'd) P.Taylor at Rhul.Ac.Uk
Wed Jun 8 13:58:04 CEST 2011


Apologies for the spurious blank lines in the
preceding; I accidentally had "Format mails in
HTML" enabled.  Now turned off, and re-attached.


\documentclass {article}
\usepackage {fontspec}

\long \def \SelectFont #1%
     {
         \par
         \fontspec {Arial}\leftline {#1 :}
         \noindent \fontspec {#1}%
     }

\begin {document}
     \SelectFont {Arial} abc \SelectFont {Cambria} abc ....
\end {document}

Philip Taylor


More information about the XeTeX mailing list