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
Am 04.06.2011 um 16:24 schrieb Marco:
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}
\define[2]\MyChapter
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]
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
Thanks to both of you. Added to the wiki.
Marco