ConTEXt an excursion - Pragma ADE

ConTEXt an excursion - Pragma ADE ConTEXt an excursion - Pragma ADE

pragma.ade.nl
from pragma.ade.nl More from this publisher
29.05.2014 Views

Miscellaneous 37.3 Storing text for later use You can store information temporarily for future use in your document with: contents index \startbuffer[...] ... \stopbuffer commands For example: \startbuffer[visit] If you want to see what Hasselt has in store you should come and visit it some time. \stopbuffer definitions colofon \getbuffer[visit] With \getbuffer[visit] you recall the stored text. The logical name is optional. With \typebuffer[visit] you get back the typeset version of the content of the buffer. Buffers are set up with: \setupbuffer[...][..,..=..,..] 37.4 Hiding text Text can be hidden with: exit \starthiding ... \stophiding The text in between will not be processed. search + go back – + 37 112

Miscellaneous 37.5 Lines There are many comands to draw lines. For a single line you type: \hairline contents index commands or: definitions \thinrule colofon For more lines you type: \thinrules[..=..] Text in combination with lines is also possible: Hasselt – Amsterdam If you draw a straight line from Hasselt to Amsterdam you would have to cover a distance of almost 145 km. If you draw two straight lines from Hasselt to Amsterdam you would have to cover a distance of almost 290 km. Amsterdam exit Hasselt \starttextrule{Hasselt -- Amsterdam} If you draw a straight line from Hasselt to Amsterdam you would have to cover a distance of almost 145 \Kilo \Meter. \stoptextrule search + go back – + 37 113

Miscell<strong>an</strong>eous<br />

37.5 Lines<br />

There are m<strong>an</strong>y com<strong>an</strong>ds to draw lines. For a single line you type:<br />

\hairline<br />

contents<br />

index<br />

comm<strong>an</strong>ds<br />

or:<br />

definitions<br />

\thinrule<br />

colofon<br />

For more lines you type:<br />

\thinrules[..=..]<br />

Text in combination with lines is also possible:<br />

Hasselt – Amsterdam<br />

If you draw a straight line from Hasselt to Amsterdam you would have to cover a dist<strong>an</strong>ce<br />

of almost 145 km.<br />

If you draw two straight lines from Hasselt to Amsterdam you would have to cover a<br />

dist<strong>an</strong>ce of almost 290 km.<br />

Amsterdam<br />

exit<br />

Hasselt<br />

\starttextrule{Hasselt -- Amsterdam}<br />

If you draw a straight line from Hasselt to Amsterdam you would have<br />

to cover a dist<strong>an</strong>ce of almost 145 \Kilo \Meter.<br />

\stoptextrule<br />

search +<br />

go back<br />

– +<br />

37 113

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

Saved successfully!

Ooh no, something went wrong!