06.04.2014 Views

font manual - Pragma ADE

font manual - Pragma ADE

font manual - Pragma ADE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

13<br />

\definetypeface [funny] [mm]<br />

[math,boldmath] [lucida] [default] [encoding=texnansi]<br />

Bold math looks like this:<br />

√<br />

625 = 5α<br />

√<br />

625 = 5α<br />

√<br />

625 = 5α<br />

√<br />

625 = 5α<br />

The definitions are given on the next page. Such definitions are normally collected in<br />

the project bound file, for instance called typeface.tex. You can add a filename to<br />

the list of typescript files yourself:<br />

\usetypescriptfile[typeface] % project scripts<br />

An example of such a file is shown below:<br />

% Additional user typescripts.<br />

% First, we need to define the symbolic names for the new<br />

% <strong>font</strong>s. Because no script specification is given, it is only<br />

% expanded once. This prevents unwanted overloading when the<br />

% file is loaded more than once.<br />

\starttypescript<br />

\define<strong>font</strong>synonym [MathRomanBold] [MathRoman]<br />

\define<strong>font</strong>synonym [MathExtensionBold] [MathExtension]<br />

\define<strong>font</strong>synonym [MathItalicBold] [MathItalic]<br />

\define<strong>font</strong>synonym [MathSymbolBold] [MathSymbol]<br />

\define<strong>font</strong>synonym [MathAlphaBold] [MathAlpha]<br />

\define<strong>font</strong>synonym [MathBetaBold] [MathBeta]<br />

\define<strong>font</strong>synonym [MathGammaBold] [MathGamma]<br />

\define<strong>font</strong>synonym [MathDeltaBold] [MathDelta]<br />

\stoptypescript<br />

% We define a new class ‘boldface’ and populate it with the<br />

% Lucida <strong>font</strong>s. The mapping onto real file names is handled<br />

% in the encoding scripts.<br />

\starttypescript [boldmath] [lucida] [name]<br />

\define<strong>font</strong>synonym [MathRomanBold] [LucidaBright-Demi]<br />

\define<strong>font</strong>synonym [MathExtensionBold] [LucidaNewMath-Extension]<br />

\define<strong>font</strong>synonym [MathItalicBold] [LucidaNewMath-AltDemiItalic]<br />

\define<strong>font</strong>synonym [MathSymbolBold] [LucidaNewMath-Symbol-Demi]<br />

\define<strong>font</strong>synonym [MathAlphaBold] [LucidaNewMath-Arrows-Demi]<br />

\stoptypescript

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!