ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Changing header size on chapter-pages
@ 2004-04-06 19:26 Holger Schöner
  0 siblings, 0 replies; only message in thread
From: Holger Schöner @ 2004-04-06 19:26 UTC (permalink / raw)


[-- Attachment #1: Type: TEXT/PLAIN, Size: 1542 bytes --]

Hi,

I am currently trying to create a letter style. The first page of each
letter (introduced by the heading-command \letter; many letters could be in
one document) should have a high header (11cm) to provide space for logo,
etc. (which I am planning to define using layers, inspired by details.pdf).
All other pages should have a different and smaller header (1cm).

Currently I am playing around with the following setup, which unfortunately
does not work (without the \setupheadertexts[\setups{normalpagesetup}] all
pages beginning from the first letter have long headers; with this line
included, also the first page of each letter has only the short height):

%% Start of a new letter; heading text is used only in an optional table of contents
\definehead[letter][title]
\setuphead[letter][placehead=empty,header=firstpageheader,coupling=title]

%% Header for first pages
\definetext[firstpageheader][header][\setups{firstpagesetup}][]

\startsetups firstpagesetup
  \setuplayout[header=11.0cm]
\stopsetups

%% Header for other pages
\startsetups normalpagesetup
  \setuplayout[header=1.0cm]
\stopsetups
\setupheadertexts[\setups{normalpagesetup}]

The attachment gives the complete example ...

Is it possible to get a layout on pages with title-headings (eg.), which is
different from the usual one?

-- 
Holger F. Schoener	TU Berlin; Dept. IV: EE and Computer Science
hfsch@cs.tu-berlin.de	http://www.cs.tu-berlin.de/~hfsch/
Rooms FR2525		Tel: +49-30-314-73115, Fax: -73121
Office FR 2-1		Franklinstr. 28/29, D-10587 Berlin, Germany

[-- Attachment #2: Type: APPLICATION/x-tex, Size: 1417 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-04-06 19:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-06 19:26 Changing header size on chapter-pages Holger Schöner

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