![](https://secure.gravatar.com/avatar/c9402c2514494ac052354155f9927af6.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/6af1f724a401c9f6f746a973f33ff595.jpg?s=120&d=mm&r=g)
"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