Am 07.04.2009 um 03:00 schrieb Wei-Wei Guo:
Wolfgang Schuster 写道:
Dear all,
I need to draw underlines under a paragraph. The number of underlines is determined by the number of lines of the paragraph. For example: \definetextbackground [underline] [location=text, alternative=1, background=,
Am 06.04.2009 um 17:17 schrieb Wei-Wei Guo: frame=off] \starttext \startunderline \input knuth \stopunderline \stoptext
It is not what I want. First, the underline is too close to the text. I need to be able to manipulate the distance between the underline and the text. Second, the underline of the last line has the same length with the last line of the text. The underlines should be all the same length.
location=paragraph
Another question: How can I set the header of the pages of contents? \setupheadtext[<language>][content=...] or \title{...} \placecontent
I don't mean the head of contents. I mean the header of the page, which is the opposite concept to footer. It seems the head of the contents is not treated as chapter. I tried \getmarking, but it doesn't work.
The context term is headertext and \title is used for the header, try \getmarking[title]. Wolfgang