29.05.2014 Views

ConTEXt an excursion - Pragma ADE

ConTEXt an excursion - Pragma ADE

ConTEXt an excursion - 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.

Headers<br />

Of course these headers c<strong>an</strong> be set to your own preferences <strong>an</strong>d you c<strong>an</strong> even define your<br />

own headers. This is done by the comm<strong>an</strong>d \setuphead <strong>an</strong>d \definehead.<br />

contents<br />

index<br />

\definehead[.1.][.2.]<br />

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

\setuphead[...][..,..=..,..]<br />

definitions<br />

colofon<br />

\definehead<br />

[myheader]<br />

[section]<br />

\setuphead<br />

[myheader]<br />

[numberstyle=bold,<br />

textstyle=cap,<br />

before=\hairline\bl<strong>an</strong>k,<br />

after=\nowhitespace\hairline]<br />

\myheader[myhead]{Hasselt makes headlines}<br />

A new header \myheader is defined <strong>an</strong>d it inherits the properties of \section. It would<br />

look something like this:<br />

5.1 HASSELT MAKES HEADLINES<br />

exit<br />

There is one other comm<strong>an</strong>d you should know now, <strong>an</strong>d that is \setupheads. You c<strong>an</strong><br />

use this comm<strong>an</strong>d to set up the numbering of the numbered headers. If you type:<br />

\setupheads<br />

[alternative=inmargin,<br />

separator=--]<br />

search +<br />

go back<br />

– +<br />

5 12

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

Saved successfully!

Ooh no, something went wrong!