VnPenguin wrote:
On Wed, 29 Dec 2004 10:18:07 +0100, Hans Hagen
wrote:
you need to force vmode in order to make blank work \def\MyChapterCommand#1#2{\vbox{\ruledhbox{#1}\blank[2cm]\ruledhbox{#2}}} Hans
VnPenguin wrote:
Hi all, I'm trying to define chapter style like the following: ------------------------------------------------------------------
Chapter 1
This is the name of chapter
------------------------------------------------------------------ But I can't found the option of \setuphead which allows me insert a "new line" (and a vertical space) between chapter number and chapter name yet.
Any help will be appreciated,
\def\MyChapterCommand#1#2{#1\blank#2}
\setuphead[chapter][command=\MyChapterCommand]
Here is the code I try: ----------------------- begin of code -------------------------------------------- \language[en] \setuppapersize[A4]
\def\MyChapterCommand#1#2{#1\blank[2cm]#2}
\setuphead [chapter] [command=\MyChapterCommand]
\starttext \chapter[foo]{This is first Chapter} \section{totototo} \subsection{tatata} blahblah \stoptext ------------ end of code --------------------------------------------------- Unfortunately, I can not get the thing for which I'm looking :-) I'm wrong some thing ?
Q. _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
-- ----------------------------------------------------------------- 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 -----------------------------------------------------------------