ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* moving section heads
@ 2010-04-10 18:30 Steffen Wolfrum
  0 siblings, 0 replies; only message in thread
From: Steffen Wolfrum @ 2010-04-10 18:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi all,

in MkII times I used to move big headings down a bit by using the following grid settings (see example below).
In MkIV there is also a way to do so (by using offset): But only for headings set in one line (see below)?!

Does anybody know what to do?


\setuplayout[header=12pt,headerdistance=8pt,grid=yes]
\setupheader[align=middle]
\setuppagenumbering [alternative=,location=]
\setupheadertexts[\setups{text a}]  [\setups{text b}]
\startsetups[text b]\vtop{\startalignment[center]Chapter\stopalignment}\stopsetups\startsetups[text a]\vtop{\startalignment[center]Chapter\stopalignment}\stopsetups

\setuphead[chapter]
%[grid={page,7pt,fit,low},align=middle,alternative=paragraph,before={\blank[18pt]},after={\blank[18pt]}]% <- MkII
[grid={low,offset:7pt},align=middle,alternative=paragraph,before={\blank[18pt]},after={\blank[18pt]}]% <-MKIV

\starttext

\chapter{Chapter}

test\midaligned{text}test

\page

\chapter{Yet another\\chapter}

test\midaligned{text}test

\stoptext



Thanks, 
Steffen
___________________________________________________________________________________
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] only message in thread

only message in thread, other threads:[~2010-04-10 18:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-10 18:30 moving section heads Steffen Wolfrum

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