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


--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex

Reply via email to