[XeTeX] Fonts : test
Philip TAYLOR (Webmaster, Ret'd)
P.Taylor at Rhul.Ac.Uk
Wed Jun 8 13:52:01 CEST 2011
Ulrike Fischer wrote:
> \documentclass{article}
> \usepackage{fontspec}
>
> \begin{document}
> \fontspec{Arial} abc \fontspec{Cambria} abc ....
> \end{document}
>
Or perhaps, to get even closer to the desideratum :
\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