ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Jan Tosovsky" <j.tosovsky@email.cz>
To: "'mailing list for ConTeXt users'" <ntg-context@ntg.nl>
Subject: Space before chapters
Date: Tue, 19 Nov 2013 21:24:12 +0100	[thread overview]
Message-ID: <333.536256994371$1384892670@news.gmane.org> (raw)

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
___________________________________________________________________________________


             reply	other threads:[~2013-11-19 20:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-19 20:24 Jan Tosovsky [this message]
     [not found] <011d01cee565$4fdc0540$ef940fc0$@tosovsky@email.cz>
2013-11-19 20:34 ` Hans Hagen
2013-11-19 22:48   ` Jan Tosovsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='333.536256994371$1384892670@news.gmane.org' \
    --to=j.tosovsky@email.cz \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).