From: John Haltiwanger <john.haltiwanger@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Text to edges of page
Date: Fri, 4 Mar 2011 16:40:15 +0100 [thread overview]
Message-ID: <AANLkTinxwzwt4gGc=8VpsO0CbsUFPL5Z3EENj1Oj46U2@mail.gmail.com> (raw)
In-Reply-To: <AANLkTik_5177qSVJSzkjB6+Bf4uY1MLkXZ977RevF-47@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 851 bytes --]
Nevermind, the answer is simple:
\setuplayout[
backspace=0mm,
topspace=0mm,
margin=0mm,
header=0mm,
footer=0mm
width=600px,
height=440px
]
On Fri, Mar 4, 2011 at 4:29 PM, John Haltiwanger <john.haltiwanger@gmail.com
> wrote:
> Hi all,
>
> I would have though the following code would produce text flush to the
> edges of the "paper", but there is significant whitespace on the right and
> bottom sides. Probably there is an obvious setting, but it eludes me now:
>
> \definepapersize[short][width=600px,height=440px]
> \setuppapersize[short][short]
>
> \setuplayout[
> backspace=0mm,
> topspace=0mm,
> margin=0mm,
> header=0mm,
> footer=0mm
> ]
>
> \setupindenting[none]
>
> \setupwhitespace[medium]
> \setupinterlinespace[22pt]
>
> \starttext
>
> \input Tufte
>
> \input Knuth
>
> \input Tufte
>
> \stoptext
>
[-- Attachment #1.2: Type: text/html, Size: 2126 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 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:[~2011-03-04 15:40 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 [this message]
2011-03-04 15:50 ` Wolfgang Schuster
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='AANLkTinxwzwt4gGc=8VpsO0CbsUFPL5Z3EENj1Oj46U2@mail.gmail.com' \
--to=john.haltiwanger@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).