Draw a line below the header texts
![](https://secure.gravatar.com/avatar/d8a9f34f350968e0cc70f1ee8bcd7832.jpg?s=120&d=mm&r=g)
Hi, now I need a line below the header text to seperate the header texts from the text area. I have't soloved this problem, have to ask for help (the method from google doesn't work any more. This new one is from Aditya, but still has some problem that I don't know how to deal with) \setuplayout [header=\lineheight, headerdistance=\lineheight, footer=\lineheight, footerdistance=\lineheight] \setuppagenumbering [location=, alternative=doublesided] \definepagebreak [chapterpagebreak] [yes,header,footer,right] \definetext [chapterstart] [footer] [{\hfill\it\pagenumber}] \setuphead [chapter] [style=\bfc, header=empty, footer=chapterstart, page=chapterpagebreak] \setupheader [style=\it] \setupheadertexts [{\getmarking[sectionnumber]\hskip1em\getmarking[section][first]}] [pagenumber] [{Chapter~\getmarking[chapternumber]\hskip1em\getmarking[chapter]}] [pagenumber] \setupbackgrounds [header][text] [bottomframe=on] \starttext \chapter{First Chapter} this is the first chapter \section{section 1} \page \section{section 2} the second page of the first chapter \page \section{section 3} the third page of the first chapter \chapter{Second Chapter} this is the second chapter \section{section 1} \page \section{section 2} the second page of the second chapter \stoptext The rule shouldn't be above the chapter head ``1 First Chapter" at page 1 and page 4 should be true empty, since it is just before Chapter 2 and has no contents. Of course, I hope that I can solve these two problems by myself, but ... I really need some help from you. Best regards, Tim
![](https://secure.gravatar.com/avatar/b79687264c3e06cba13b54d05b12a9f5.jpg?s=120&d=mm&r=g)
Am 27.04.2013 um 11:00 schrieb Tim Li
Hi,
now I need a line below the header text to seperate the header texts from the text area. I have't soloved this problem, have to ask for help
(the method from google doesn't work any more. This new one is from Aditya, but still has some problem that I don't know how to deal with)
\setupbackgrounds [header][text] [bottomframe=on]
\setupheader[text][after=\hrule] Wolfgang
participants (2)
-
Tim Li
-
Wolfgang Schuster