Hi,
may be that you might use a construction with \framed as I use it for my
letter-header of my company:
\def\Logo%
{\externalfigure[logo.1][height=7\bodyfontsize,method=mps]}
\setupheadertexts[text]%
[{\hbox
{\switchtobodyfont[10pt]%
\setupframed
[align=right,top=\vfill,bottom=,height=7\bodyfontsize,width=\makeupwidth,fra
me=off]%
{\Logo \hskip0.5em
\framed%
{First line of your header \hvill More information of your heaer
\endgraf
Second line of your header \hvill More information of your
header \endgraf
Third line of your header \hvill More informationof your
header }}}}][]
For your second question you might use the builtin capabilities of the
\framed. The rulethickness you can set up in the setup section of
\framed....
I hope this helps
Willi
----- Original Message -----
From: "Lazycode"
Greetings! I've recently ran into two trivial tasks that I can't seem to get ConTeXt to do. If someone could (1) point out my mistakes or (2) point me to the peoper documentation, it would be very helpful and much apperciated.
Task 1: Setting up Top/Header texts. I want to have a _multiline_ header. I tried using \setheadertexts and \settoptexts. Both _ignored_ the use of "\\" to break lines, and complained when I used \par. It looks like I can only have single line headers. I want something as follows: (best viewed with fixed width font)
--------------------------------------------------- | Document Title Document Author | | ConTeXted On Document Version | | Section Number Chapter Number | --------------------------------------------------- | | | | | | | Actual Text | | | | | | | | |
I believe I know how to do the rest. Currently, I need to know how to do multi-line header/top texts.
Task 2: Preventing annoying page breaks. I'm using the \setuphead from page 5 of the context manual. It reads as follows:
\setuphead [myheader] [ -some unimportant stuff snipped out- before=\hairline\blank after=\nowhitespace\hairline]
Once in a while, a page break occurs between the actual text and one of these two hairlines. I've tried:
* before=\hariline\page[no]\blank * before=\hariline\blank\page[no] and * after=\page[no]\nowhitespace\hairline
None of the above works.
Any information, including a random command to learn and try, would be very helpful.
Thanks in advance, --tk _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context