mtx-context     | current version: 2014.10.18 14:30

I only want about 3 to 5 mm between the physical top of the page and the top of the letterhead (in this example, a company's and contact information).

In \setlayer I set     y=3mm


The pdf view of the output looks good, but an actual printout (and a look at a print preview with a pdf viewer) of the generated pdf file puts the top of the letterhead about 17 mm down from the top edge. This is too much. I tried adjusting topspace and topdistance to 0 didn't seem to have any affect.

I am using theh ConText standalone:  mtx-context   version: 2014.10.18 14:30

Here is a simple minimal exmple:
%
% Start of minimal example

   \setuppapersize[letter][letter]
   \setuppagenumbering[location=footer]

   \setuplayout[
              backspace=31mm,
              header=5mm,
              rightmargin=2cm, leftmargin=2cm ]

   \definelayer
     [Logo]                      % name of the layer we are defining
     [ repeat=yes,
       x=5mm,y=3mm,      % Just what is this?
       hoffset=0mm,voffset=0mm, % and what is this?  ...offset from where?
       width=\paperwidth
     ]

\setupTABLE[r][1,2,3][height=5mm,frame=off] % Put letterhead information in here.

\starttext

\setlayer[Logo][]
   {
    \bTABLE
             \bTR
\bTD \eTD \bTD \sc{Company Name}\eTD \bTD \sc{info}@\sc{something}.\sc{where} \eTD
             \eTR
             \bTR
\bTD \eTD \bTD 2059 Forest Ave, Ste X \eTD \bTD \sc{www}.\sc{domain}.\sc{topleveldomain} \eTD
             \eTR
             \bTR
            \bTD \eTD \bTD City, Province \eTD \bTD Tel (xxx) 999-1234 \eTD
            \eTR
          \eTABLE
    }
\setupbackgrounds[page][background=Logo]

    ~    % Need `` to avoid a NULL content page so can generate a pdf

\stoptext

%
% End of minimal example

___________________________________________________________________________________
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 via email to