[NTG-context] Linebreak between Chapter Number and Name

Rogers, Michael K mroge02 at emory.edu
Mon Feb 27 02:47:11 CET 2012

On Feb 26, 2012, at 7:13 PM, Marc Trius wrote:

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:

chapter][command=\ChapTitle]
\def\ChapTitle#1#2%
}

This worked for me:

\def\ChapTitle#1#2{\framed{\vbox{\startalignment[center]#1\par#2\stopalignment}}}

I don't know if \vbox's are frowned on in ConTeXt, but my fix doesn't work if you remove it.  I've just started migrating from Plain Tex to ConTeXt, so please excuse a naive response.

________________________________

This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.