[NTG-context] Layer for Letterhead( minimum example)

Otared Kavian otared at gmail.com
Mon Nov 17 09:24:47 CET 2014


Hi,

The key you have to use is 
	state=repeat
in the definition of your layer:

\definelayer[Logo][state=repeat]
\starttext
\setlayer[Logo][x=75mm,y=13mm]
    { \bTABLE[frame=off]
             \bTR  \bTD Company Name \eTD  \eTR
             \bTR  \bTD Address..... \eTD  \eTR
         \eTABLE
     } 

\setupbackgrounds[page][background=Logo]

\title{Hello Mr. Smith}

I do hope that all is going well for you.

\dorecurse{5}{\input knuth \par}
\stoptext

Best regards: OK

> On 17 Nov 2014, at 08:56, jdh <dhenman at gmail.com> wrote:
> 
> 
> SORRY I forgot to attach a minimum example. I'll attach it.
> It is a plain text file wit an .mkiv file extension.
> 
> I have created a letterhead layer, which works well for the first page
> of a multi-page document.  I want it to be repeated for each page of a
> document.
> 
> How can that be done or does anyone have any pointers or tips on how I
> can do that?
> 
> Thank You
> 
> 
> <minimum-example.mkiv>___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at 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
> ___________________________________________________________________________________



More information about the ntg-context mailing list