Re: [NTG-context] simple question: newline in chapter header?
[On 05 Nov, @ 14:53, Hans wrote in "Re: [NTG-context] simple quest ..."] > >seem work. :( > > > >What I'm I missing here? > > use > > \def\MyHeadCommand#1#2% > {\vbox{#1\par#2}} > > with > > command=\MyHeadCommand ofcourse \par! :) thanks! grtz Miek ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] simple question: newline in chapter header?
Miek Gieben wrote: Hello, I'm trying to switch from latex to context and I'm trying to port the book class from latex to a context document. Right now I'm working on the chapter def and I have: \definetext[chapter][footer][pagenumber] \setuphead[chapter][ header=empty, footer=chapter, textstyle=bold, numberstyle=bold, numbercommand=Chapter , textcommand={\bfc}, after={\blank[4*big]}] But this doesn't give a newline after the chapter number. If I change textcommand={\bfc}, to textcommand={\\ \bfc}, I do get a newline, but then the chapter title is not aligned to the left side of the document? Even if I try to left aline this it does seem work. :( What I'm I missing here? use \def\MyHeadCommand#1#2% {\vbox{#1\par#2}} with command=\MyHeadCommand Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] simple question: newline in chapter header?
Hello, I'm trying to switch from latex to context and I'm trying to port the book class from latex to a context document. Right now I'm working on the chapter def and I have: \definetext[chapter][footer][pagenumber] \setuphead[chapter][ header=empty, footer=chapter, textstyle=bold, numberstyle=bold, numbercommand=Chapter , textcommand={\bfc}, after={\blank[4*big]}] But this doesn't give a newline after the chapter number. If I change textcommand={\bfc}, to textcommand={\\ \bfc}, I do get a newline, but then the chapter title is not aligned to the left side of the document? Even if I try to left aline this it does seem work. :( What I'm I missing here? Thanks a lot! grtz, --Miek -- today's fortune: Chemist who falls in acid is absorbed in work. ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context