Wolfgang Schuster 写道:
Am 06.04.2009 um 17:17 schrieb Wei-Wei Guo:
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=, 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.
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. Best wishes, Wei-Wei