Hi,
I am trying to format a chapter heading so that there is a linebreak between the number and the name. The only way I managed to do this is this:


\setuphead[

chapter][command=\ChapTitle]

\def\ChapTitle#1#2%

{\framed[height=2cm,width=broad]{#1\\#2}

}


But this limits me to a fixed height for the frame. This doesn't work if I don't set a fixed height, which would be a problem with longer chapter names that need linebreaks.

What is the correct way to do this?

Thank you,
Marc Trius.