06.04.2014 Views

font manual - Pragma ADE

font manual - Pragma ADE

font manual - Pragma ADE

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

30<br />

\start<strong>font</strong>handling[punctuation]<br />

\defineprotrudefactor , 0 .7<br />

\defineprotrudefactor . 0 .7<br />

\defineprotrudefactor : 0 .5<br />

\defineprotrudefactor ; 0 .5<br />

.....<br />

\stop<strong>font</strong>handling<br />

Equaly valid are definitions like:<br />

\defineprotrudefactor hyphen 0 .7<br />

Any character can protrude:<br />

\defineprotrudefactor A .05 .05<br />

For convenience we let composed characters inherit the values from their parents.<br />

\inheritprotrudefactor Acircumflex A<br />

Instead of using numbers (like the 700 in the previous definition), we use fractions,<br />

one for the left and one for the right shift. There are a few more vectors defined, like<br />

defalph for characters, where we only apply very small shifts.<br />

A combination of such vectors is packaged in a <strong>font</strong> handler using the following command:<br />

\define<strong>font</strong>handling [normal] [punctuation,alpha]<br />

These definitions depend on the encoding, they are loaded with the \usehandling<br />

command. You can for instance load the default definitions with: :<br />

\usehandling[def]<br />

Since this vector is already preloaded in ConT E Xt, you normally don’t have to provide<br />

this command.<br />

In ConT E Xt we have integrated protruding characters (hanging punctuation) into the<br />

normal alignment macros.<br />

\setupalign[hanging]<br />

Font protruding is turned off automatically in controlled situations, and more control<br />

will be added in due time. We already mentioned that the amount of protruding

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

Saved successfully!

Ooh no, something went wrong!