Hi all, I want to make a twoline header in a framed box: \setupheads[sectionnumber=no] \define[1]\Sectioncommand{\framed[frame=off,bottomframe=on]{#1}} \definehead[Section][section] \setuphead[Section][textcommand=\Sectioncommand] \Section{first line\crlf second line} I want to get something of the kind first line second line ------------- but my result is first linesecond line ----------------------- The contents seems to be good, the two lines appear. Greetings Bence
"Willi Egger"
\define[1]\Sectioncommand{\framed[frame=off,bottomframe=on]{#1}}
\define[1]\Sectioncommand{\framed[frame=off,bottomframe=on,align=lohi]{#1}}
(puts the material in a vbox)
Try \framedtext[...]{...}
Uh, didn't think about that. I hardly ever use framedtext. It gives a different layout, though. Patrick
participants (3)
-
Nagy Bence
-
Patrick Gundlach
-
Willi Egger