[XeTeX] Fonts : test
Paul Isambert
zappathustra at free.fr
Wed Jun 8 13:24:35 CEST 2011
Le 08/06/2011 13:14, Jean-Louis Cordonnier a écrit :
> In order to choose the right fontface for my document, I want to make a
> test.
> My purpose is to get a document like this :
>
> Font 1 :
> abcde...
> Font 2 :
> abcde...
> Font 3 :
> abcde
>
> Is it possible to do this in a short way ?
If I understand you correctly, this will do:
%%%
\def\testtext{Whatever text you want to use...}
\def\testfont#1{%
\font\temp="#1"
\temp
\vskip\baselineskip#1:\par
\testtext
}
%%%
Then: \testfont{Chaparral Pro} \testfont{cmr10}...
Best,
Paul
More information about the XeTeX
mailing list