ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Willi Egger <w.egger@boede.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Letter with letterhead
Date: Wed, 2 Mar 2011 09:58:19 +0100	[thread overview]
Message-ID: <B606860C-22CA-4E82-8A74-01F8EB629225@boede.nl> (raw)
In-Reply-To: <y65pqqa3d29.fsf@jade.esd.mun.ca>

Hi,

though I am using MKIV only, it should also work with MKII

	\startsetups[letter:foot]
		\setlayer[letter:foot]
			[x=4.5mm,y=-2mm]
			{... whatever must go in here ...}
	\stopsetups
	
	\startsetups[letter:nextfoot]
		\setlayer[letter:foot]
			[x=4.5mm,y=-2mm]
			{... whatever must show up on page 2 and further ...}
	\stopsetups
	
	\startsetups[letter:head]
		\setlayer[letter:head]
			[x=141mm,y=3mm]
			{...whatever should be places in the header...}
	\stopsetups
	\startsetups[letter:nexthead]
		\setlayerframed[letter:nexthead]
			[x=\dimexpr\textwidth-10mm,y=0mm]
			[frame=on,width=10mm,align=flushright]
	               {...whatever should be placed in the header after page 1...}
	\stopsetups

Willi

On 1 Mar 2011, at 19:34, Roger Mason wrote:

> Hello,
> 
> I must write a multi-page letter with only the first page as
> (pre-printed) letterhead.  I adapted the Letterhead example from the
> wiki to fit the style of my institution.  I would like to know how to
> revert the second and subsequent pages to use a default layout.
> 
> If someone know how to use Wolfgang's letter module (in MKII) with
> letterhead on the first page only, that would be fine.
> 
> Thanks,
> Roger
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

___________________________________________________________________________________
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:[~2011-03-02  8:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-01 18:34 Roger Mason
2011-03-02  8:58 ` Willi Egger [this message]
2011-03-02 16:23   ` Roger Mason

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=B606860C-22CA-4E82-8A74-01F8EB629225@boede.nl \
    --to=w.egger@boede.nl \
    --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).