13.07.2013 Views

Hagen - Pragma ADE

Hagen - Pragma ADE

Hagen - 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.

We thrive in information--thick worlds because of our marvelous and everyday<br />

capacity to select, edit, single out, structure, highlight, group, pair, merge,<br />

harmonize, synthesize, focus, organize, condense, reduce, boil down, choose,<br />

categorize, catalog, classify, list, abstract, scan, look into, idealize, isolate, discriminate,<br />

distinguish, screen, pigeonhole, pick over, sort, integrate, blend, inspect,<br />

filter, lump, skip, smooth, chunk, average, approximate, cluster, aggregate,<br />

outline, summarize, itemize, review, dip into, flip through, browse, glance<br />

into, leaf through, skim, refine, enumerate, glean, synopsize, winnow the wheat<br />

from the chaff and separate the sheep from the goats.<br />

Figure 8.7 The difference between no protrusion and quality protrusion.<br />

[default]<br />

[protrusion=myown]<br />

\definefont[MyTestA][Serif*default at 10pt]<br />

\definefont[MyTestB][Serif*whatever at 10pt]<br />

In figure 8.8 we see that the somewhat extreem definition of the comma also pulls<br />

the preceding character into the margin.<br />

We thrive in information--thick worlds because of our marvelous and everyday<br />

capacity to select, edit, single out, structure, highlight, group, pair, merge,<br />

harmonize, synthesize, focus, organize, condense, reduce, boil down, choose,<br />

categorize, catalog, classify, list, abstract, scan, look into, idealize, isolate, discriminate,<br />

distinguish, screen, pigeonhole, pick over, sort, integrate, blend, inspect,<br />

filter, lump, skip, smooth, chunk, average, approximate, cluster, aggregate,<br />

outline, summarize, itemize, review, dip into, flip through, browse, glance<br />

into, leaf through, skim, refine, enumerate, glean, synopsize, winnow the wheat<br />

from the chaff and separate the sheep from the goats.<br />

Figure 8.8 The influence of extreme protrusion on preceding characters.<br />

8.9 Expansion<br />

Expansion is also an inheritance of pdfT E X. 12 This mechanism selectively expands characters,<br />

normally upto 5%. One reason for applying it is that we have less visually incompatible<br />

spacing, especially when we have underfull or cramped lines. For each (broken)<br />

line the badness is reconsidered with either shrink or stretch applied to all characters<br />

in that line. So, in the worst case a shrunken line is followed by a stretched one and that<br />

can be visible when the scaling factors are chosen wrong.<br />

As with protrusion, the solution space is larger but so are the constraints. But contrary<br />

to protrusion here the look and feel of the whole line can be made better but at<br />

the cost of much more runtime and larger (pdf) files.<br />

12 As with protrusion the implementation in the engine is somewhat suboptimal and inefficient and will be upgraded<br />

to a more LuaT E X-ish way.<br />

137<br />

Extensions

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

Saved successfully!

Ooh no, something went wrong!