ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: beginnersvragen
Date: Mon, 03 Aug 1998 11:01:51 +0200	[thread overview]
Message-ID: <35C57C7F.B488E15D@wxs.nl> (raw)

W.H. Dekker wrote:

> \setuppagenumbering[style=oldstyle]
> \language[nl]
> \starttext\setupbodyfont[sansserif,11pt]
> \setupmakeup[width=160mm,height=260mm,voffset=-40mm]

>> large sample omitted << 

Forget about the offset. Think in terms of topspace, backspace, header,
footer, height and width. 

Below you'll see how things can be done.  Watch the use of buffers, you
can paste the text directly there but this illustrates better what I do. 

Some 'tricks': 

- let framed calculate the width automatically
- set the offset to overlay
- the \unskips get rid of funny spaces

% format=en

\showframe

\startbuffer[tit]
\framed
  [width=fit,height=4cm,align=right]
  {Kwaliteitsdienst\\Landbouwkundige\\Laboratoria
  \blank[2*big]
  \sl KDLL-rapport}
\stopbuffer

\startbuffer[org]
\framed
  [width=fit,height=40mm,align=right]
  {TNO-Voeding
   \blank[big]
   Postbus 360\\3700 AJ Zeist\\Utrechtseweg 48
   \blank[big]
   Telefoon 030-6944144}
\stopbuffer

\startbuffer[cop]
\framed
 [width=95mm,height=12mm,align=normal]
 {Niets uit deze uitgave mag worden vermenigvuldigd en|/|of 
  openbaar gemaakt door middel van druk, fotokopie, microfilm 
  of op welke wijze dan ook, zonder voorafgaande toestemming 
  van KDLL}
\stopbuffer

\startbuffer[rap]
\framed
  [width=110mm,height=15mm,align=right]
  {Rapport nummer R 97.033/afl97-1\\
   Aflatoxinen\\Resultaten van het tweede ringonderzoek 1997}
\stopbuffer

\startbuffer[lst]
\framed
  [width=70mm,align=right]
  {Auteurs:\\Drs. B.J.C.~van der Vat\\C.J.~van Putten
   \blank[big]
   Projectnummer:\\560303
   \blank[big]
   TNO-Voeding rapportenarchiefnummer:\\V 97.854
   \blank[big]
   Goedgekeurd door:\\A.H.~Roos\\(Voorzitter Gebruikersgroep)
   \blank[big]
   Datum:\\November 1997
   \blank[big]
   Aantal pagina's:\\21 % \lastpage
   \blank[big]
   Oplage:\\55}
\stopbuffer

\startstandardmakeup[headerstatus=none,footerstatus=none] % will be
headerstate in next release

  \setupframed[offset=overlay]% ,frame=off]

  \hbox to \hsize{\getbuffer[tit]\hss\getbuffer[org]\unskip}

  \getbuffer[rap]

  \blank[20mm]

  \hbox to \hsize{\hss\getbuffer[lst]\unskip}

  \vfill

  \switchtobodyfont[small]

  \hbox to \hsize{\hss\getbuffer[cop]\unskip\hss}

\stopstandardmakeup

Hans

-----------------------------------------------------------------
                                              Hans Hagen | PRAGMA
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | fax: 038 477 53 74 | mail: pragma@wxs.nl
-----------------------------------------------------------------


             reply	other threads:[~1998-08-03  9:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-03  9:01 Hans Hagen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-04-23 12:53 Beginnersvragen Joop Susan
2000-04-23  8:26 Beginnersvragen Joop Susan
2000-04-23  8:45 ` Beginnersvragen Tobias Burnus
2000-04-23 11:20   ` Beginnersvragen Johannes Hüsing
2000-04-23 20:40     ` Beginnersvragen Tobias Burnus
1998-08-02 18:28 beginnersvragen Frans Goddijn
1998-08-01 22:59 beginnersvragen W.H. Dekker

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=35C57C7F.B488E15D@wxs.nl \
    --to=pragma@wxs.nl \
    --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).