ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Layer for Letterhead( minimum example)
Date: Mon, 17 Nov 2014 09:24:47 +0100	[thread overview]
Message-ID: <4C5E75DB-D75D-44B3-A378-E5D91F9A628D@gmail.com> (raw)
In-Reply-To: <5469AA4B.2040301@gmail.com>

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@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@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:[~2014-11-17  8:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-17  7:53 Use of a layer for a letterhead jdh
2014-11-17  7:56 ` Fwd: Layer for Letterhead( minimum example) jdh
2014-11-17  8:24   ` Otared Kavian [this message]

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=4C5E75DB-D75D-44B3-A378-E5D91F9A628D@gmail.com \
    --to=otared@gmail.com \
    --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).