Use of a layer for a letterhead
![](https://secure.gravatar.com/avatar/5ff42c8d3962c9a0cbbefbb0c74bc4a4.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/5ff42c8d3962c9a0cbbefbb0c74bc4a4.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/5faea8b4fa0adb143383811dc94f0d22.jpg?s=120&d=mm&r=g)
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
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
___________________________________________________________________________________ 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 ___________________________________________________________________________________
participants (2)
-
jdh
-
Otared Kavian