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.

36<br />

11 Predefined typefaces<br />

We have predefined a couple of typeface combinations. If you want to define your own<br />

typefaces, you can peek into the following files:<br />

script file<br />

type-enc<br />

type-syn<br />

type-map<br />

type-spe<br />

type-siz<br />

type-pre<br />

type-exa<br />

content<br />

file name definitions, often encoding specific<br />

symbolic <strong>font</strong> names, often based on foundry names<br />

map file definitions<br />

special definitions, like math collections<br />

size specifications<br />

predefined typescripts, downward compatible with <strong>font</strong>-*.tex<br />

example definitions, that can be used too<br />

These files will be extended depending on user input and wishes, so feel free to submit<br />

additional definitions. The file with example definitions is probbaly the best place to<br />

start. There you will find for instance the times typeface. 4<br />

\usetypescript[times][ec]<br />

\switchtobody<strong>font</strong>[times,11pt]<br />

This is a mixture of Times Roman (serif), Helvetica (sans, Computer Modern Roman<br />

(mono) and TX Times (math).<br />

Due to relative scaling, these <strong>font</strong>s combine in an acceptable way:<br />

In ConTEXt, <strong>font</strong>s can be used in any combination, but in practice only certain combinations make<br />

sense. In most cases, you will use a Serif or Sans Serif <strong>font</strong> for the main body text. If you<br />

combine both shapes, you should be aware that not all combinations look well. A third shape<br />

is tagged as Mono. A mono spaced <strong>font</strong> is often used to identify text that is<br />

to be keyed in verbatim in computer programs. And then there is Math. Quite often<br />

m + a + t + h ≠ t + e + x + t although the normal text and numbers, as in y = 2 sin x, in most cases is the<br />

same as the main body <strong>font</strong>.<br />

12 Symbols and glyphs<br />

Some day you may want to define your own symbols, if possible in such a way that<br />

they nicely adapt themselves to changes in style and size. A good example are the<br />

eurosymbols. You can take a look in symb-eur.tex to see how such a glyph is defined.<br />

4 We will also add support for MathTimes with texnansi encodings.

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

Saved successfully!

Ooh no, something went wrong!