ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Space before chapters
@ 2013-11-19 20:24 Jan Tosovsky
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Tosovsky @ 2013-11-19 20:24 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'

Dear All,

after two hours of investigating wiki and various commands I am giving up...

Is there any way to set a bit of white space before my chapter title?

(1) I've thought that before={\blank[20mm]} should do the job. It works for
sections, but here I suspect it is ignored as my chapter start on a new
page.

(2) numbercommand=\groupedcommand{\blank[20mm]}{\blank[4mm]} - this works as
expected, but only for numbered titles - I need it also for TOC and Preface.

(3) commandbefore={\blank[20mm]} - it inserts the space between the number
and title 

I have no idea what else to try...

\setuphead[chapter][
   alternative=middle,
   %before={\blank[20mm]},
   %commandbefore={\blank[20mm]},
   numbercommand=\groupedcommand{\blank[20mm]}{\blank[4mm]},
   %numbercommand=\groupedcommand{}{\blank[4mm]},
]

\starttext
\startfrontmatter
\chapter{Intro}text
\startfrontmatter
\startbodymatter
\chapter{Chapter}text
\stopbodymatter
\stoptext

Any help is highly appreciated. 

Thanks, Jan

ConTeXt 2013.11.14 & Win 7

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <011d01cee565$4fdc0540$ef940fc0$@tosovsky@email.cz>]

end of thread, other threads:[~2013-11-19 22:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-19 20:24 Space before chapters Jan Tosovsky
     [not found] <011d01cee565$4fdc0540$ef940fc0$@tosovsky@email.cz>
2013-11-19 20:34 ` Hans Hagen
2013-11-19 22:48   ` Jan Tosovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).