From: jdh <dhenman@gmail.com>
To: ConTeXt Typesetting <ntg-context@ntg.nl>
Subject: Fwd: Layer for Letterhead( minimum example)
Date: Sun, 16 Nov 2014 23:56:59 -0800 [thread overview]
Message-ID: <5469AA4B.2040301@gmail.com> (raw)
In-Reply-To: <5469A97B.1050508@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 365 bytes --]
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
[-- Attachment #2: minimum-example.mkiv --]
[-- Type: text/plain, Size: 738 bytes --]
%
% Start of Context Document Example
\definelayer
[Logo] % name of the layer we are defining
[
x=0mm, y=0mm, % x,y coord where center of layer should be.? (=10,10)
hoffset=0mm,voffset=0mm, % offset from where? left side? ndn topside?
location={right,top} % relative location withing a layer area
]
\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
%
% End of Context Document example
[-- Attachment #3: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2014-11-17 7:56 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 ` jdh [this message]
2014-11-17 8:24 ` Layer for Letterhead( minimum example) Otared Kavian
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=5469AA4B.2040301@gmail.com \
--to=dhenman@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).