ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Lars Huttar <lars_huttar@sil.org>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: section headings on a grid: less space above?
Date: Fri, 23 Aug 2013 11:26:16 -0400	[thread overview]
Message-ID: <52177F18.2080102@sil.org> (raw)

Hello,

I'm using mkii to typeset a document with grid layout. I'm trying to
configure the formatting of the subsection headings.

I have the following setuphead:
\setuphead[subsection][number=no,style={\switchtobodyfont[SansB,\subheadersize]},grid=top]

This works successfully in that the lines below the heading are aligned
to the grid.

But what I'm trying to change is the fact that 4 grid lines are taken up
by the heading: approximately two blank lines above, and one below. The
requirement is to use 3 grid lines.

I know how to move the heading text down within the space:
    grid=3pt
does that.

But I can't figure out how to reduce the number of lines above the
heading text.

The document at http://www.pragma-ade.com/general/manuals/details.pdf
says that the "top" option (as in grid=top) means "add/remove an extra
line to the top". But in my experimenting, the presence or absence of
"top" seems to make no difference.
I also tried:
grid={broad,low}
grid={fit,low}
grid={line,3pt}
grid=standard
no "grid" setting at all

but none of these seems to reduce the total amount of vertical space
taken up by the heading.

Can somebody tell me how to do this? E.g. how to make the "top" option
"remove an extra line" on top?

Thanks,
Lars

P.S. version:
ConTeXt  ver: 2008.05.21 15:21 MKII  fmt: 2009.1.20
but I'm hoping the oldness of the version isn't a factor here.
___________________________________________________________________________________
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-08-23 15:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-23 15:26 Lars Huttar [this message]
2013-08-24  0:06 ` Lars Huttar
2013-08-24 13:14   ` Marco Patzer
2013-08-24 18:52   ` Lars Huttar

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=52177F18.2080102@sil.org \
    --to=lars_huttar@sil.org \
    --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).