Jesteś w: Start / Przedsięwzięcia/Projects / TeX Pearls / 2006 Pearls / frank-mittelbach / bachotex2006-frank-mittelbach-pearl1.tex

bachotex2006-frank-mittelbach-pearl1.tex

TeX document icon bachotex2006-frank-mittelbach-pearl1.tex — TeX document, 1 KB

Zawartość pliku

%%% Frank Mittelbach: is there a font?
% The following code allows to check, if some font (tfm metric) is available.

\batchmode
\font\X=<font name>%
\errorstopmode
 \ifx\X\nullfont
   <font not available>
 \else
   <use the font>
 \fi

% Having eTeX we can switch between modes using
% handy \interactionmode primitive.