On Sat, Jun 4, 2011 at 4:24 PM, Marco <net...@lavabit.com> wrote:
> How can I get the chapter name in a new line, like:
>
> Chapter 1
> Foo Bar
>
> The following yields to “Chapter1Foo Bar”.
>
> \setuplabeltext [en] [chapter=Chapter~]
> \def\MyChapter#1#2{#1\blank#2}
> \setuphead [chapter] [command=\MyChapter]
>
> \starttext
> \chapter{Foo Bar}
> \stoptext
>
> Marco
If you don't want to use framedtext (cfr wolfgang)
\setuplabeltext [en] [chapter=Chapter~]
\def\MyChapter#1#2{\vbox{#1\blank#2}}
\setuphead [chapter] [command=\MyChapter]

\starttext
\chapter{Foo Bar}
\stoptext


>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________



-- 
luigi
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to