Hi again, luigi, thanks for your tips. I simply want to put a \thinrule underneath the headertext in textwidth. My setup is: \setupheadertexts[chapter][\pagenumber][section][\pagenumber] \setupheader[after=\thinrule] \setuphead[subsubsection][number=no,alternative=text,indenttext=yes,textstyle=bold] \definetext[chapter][footer][pagenumber] \setuphead[chapter][header=high,footer=chapter,page=yes] \setuphead[blank][state=empty] This way I get a \thinrule starting in the left margin in textwidth under an odd page. I would like the headertext with chapter and pagenumber underlined with \thinrule on every odd page, except it is blank or the beginning of a new chapter, and the same with section and pagenumber in the header for every even page, except it is blank or the beginning of a new chapter -- a simple underlined headtext like in many books. Thanks for your help Bert