At 13:31 18/08/2003 +0200, Alexander Klink wrote:
In ConTeXt it's useful if you can think around some edges: Such a line is a frame with only one frame line. This "frame" forms the background of your header. Ergo: \setupbackgrounds [header][text][frame=off, bottomframe=on] \setupbackgrounds [footer][text][frame=off, topframe=on] I was going to ask exactly the same question. Unluckily, what you did here does not work very well for me - the line is quite below
On Thu, Aug 14, 2003 at 10:36:51PM +0200, Henning Hraban Ramm wrote: the header text, I would really like to have it closer... \setupheader[after={\hairline}] does not work as the hairline is not below the text but starts at the left border... Maybe someone got another idea?
\startuniqueMPgraphic{nice} draw bottomboundary OverlayBox leftenlarged 6pt rightenlarged 6pt shifted (0,.75HeaderHeight) ; setbounds currentpicture to OverlayBox ; % forces dimensions \stopuniqueMPgraphic \defineoverlay[nice][\uniqueMPgraphic{nice}] \setupbackgrounds[header][text][background=nice] \starttext \input ward \stoptext I added a couple of shifts and enlargements to play with Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------