[NTG-context] Use of \hairline in the header

Cecil Westerhof cldwesterhof at gmail.com
Tue Jul 19 12:21:02 CEST 2011


I have the following document:
\setupheader[
  after={\startalignment[center]\hairline\stopalignment},
  style={\switchtobodyfont[9pt]},
]

\setuplayout[
  footer=0mm,
  header=10mm,
]

\setupheadertexts[]
\setupheadertexts[Documentation for product XYZ –concept–]
                 [version: 2001-07-19]

\starttext

Just some text to fill the document.

\stoptext


I would expect the hairline to be at the  same place as the text of the
document, but instead it is completely left aligned. What am I doing wrong?

-- 
Cecil Westerhof
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20110719/8318b53a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dummy.pdf
Type: application/pdf
Size: 10330 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20110719/8318b53a/attachment-0001.pdf>


More information about the ntg-context mailing list