29.11.2012 Views

MetaFun - Pragma ADE

MetaFun - Pragma ADE

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

142<br />

draw p shifted (0,i) withpen pencircle scaled .25pt withcolor .5white ;<br />

draw p shifted (0,i+ExHeight) withpen pencircle scaled .25pt withcolor .5white<br />

;<br />

draw textext.origin("\strut How are those penalty lines called in english?<br />

I may not steal candies ..." & decimal n) shifted (l,i) shifted (0,-StrutDepth)<br />

;<br />

endfor ;<br />

StopPage ;<br />

\stopMPpage<br />

\stop<br />

This code demonstrates the use of LineHeight, ExHeight, StrutHeight and StrutDepth. We set<br />

the interline spacing to 1.5 so that we get a bit more loose layout. The variables mentioned are set<br />

each time a graphic is processed and thereby match the current font settings.<br />

Enhancing the layout Graphics and macros

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

Saved successfully!

Ooh no, something went wrong!