ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* section headings on a grid: less space above?
@ 2013-08-23 15:26 Lars Huttar
  2013-08-24  0:06 ` Lars Huttar
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Huttar @ 2013-08-23 15:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-08-24 18:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-23 15:26 section headings on a grid: less space above? Lars Huttar
2013-08-24  0:06 ` Lars Huttar
2013-08-24 13:14   ` Marco Patzer
2013-08-24 18:52   ` Lars Huttar

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).