ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Text to edges of page
Date: Fri, 4 Mar 2011 16:50:23 +0100	[thread overview]
Message-ID: <1FF0AB82-F2DB-440B-B9FB-6FA9B3ED88C5@gmail.com> (raw)
In-Reply-To: <AANLkTinxwzwt4gGc=8VpsO0CbsUFPL5Z3EENj1Oj46U2@mail.gmail.com>


Am 04.03.2011 um 16:40 schrieb John Haltiwanger:

> Nevermind, the answer is simple:
> 
> \setuplayout[
> 
> 		backspace=0mm,
> 		topspace=0mm,
> 		margin=0mm,
> 		header=0mm,
> 		footer=0mm
>                 width=600px,
>                 height=440px
> ]

You can use “width=middle” and “height=middle” and don’t forget the “,” after the last value (i.e. “height=440px,”) but for a layout without margins you can just use “\setuplayout[page]”.

\setuplayout[page]
\starttext
\dorecurse{12}{\input tufte\par}
\stoptext

For a simple layout with equal margins you can use the fullpage module:

\usemodule[fullpage][style={margin,empty},margin=5mm]
\showframe
\starttext
\input tufte
\stoptext

Wolfgang

___________________________________________________________________________________
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:[~2011-03-04 15:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-04 15:29 John Haltiwanger
2011-03-04 15:40 ` John Haltiwanger
2011-03-04 15:50   ` Wolfgang Schuster [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=1FF0AB82-F2DB-440B-B9FB-6FA9B3ED88C5@gmail.com \
    --to=schuster.wolfgang@googlemail.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).