From: Robert Blackstone <blackstone.robert@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: margin text
Date: Fri, 26 Mar 2010 09:56:16 +0100 [thread overview]
Message-ID: <dbd60a1b1003260156i6ec9e270v3d8c9c82ba9e0688@mail.gmail.com> (raw)
In-Reply-To: <dbd60a1b1003250500k7fe69686g85c74cc674451b9b@mail.gmail.com>
Thu, 25 Mar 2010 13:26:19 +0100 luigi scarso <luigi.scarso@gmail.com> wrote:
> <blackstone.robert@gmail.com> wrote:
>> What should I do to get the page in the middle of the paper so to
>> speak, instead of shifted to the left, which happens with
>> \setuplayout[location=middle]?? I tried specifying leftedgewidth but
>> that does not change anything.
> hm, strange, try
>
> \setuppapersize[A4][A3]
> \setuplayout[location=middle,
> backspace=23mm,
> margin=15mm,margindistance=3mm,
> width=fit,
> ]
> \setupinmargin[left][align=left,foregroundcolor=red]
> \setupinmargin[right][align=right,foregroundcolor=blue]
> \showlayout
> \starttext
.....
> --
> luigi
Thank you, Luigi.
This code gives a nice result with the page sitting neatly centered on
the paper.
However, when I increase the margin width to 25mm all gets shifted to
the left. Both margins get 25 width, the right margin stays within the
boundaries of the A4 paper, the left one is pushed outside. One would
have expected that with width=fit, the increase of marginwidth would
go at the expense of textwidth and that location=middle will still
dictate the overall position.
But no, it does not work that way apparently. Setting margin=20mm is
about the limit. Even setting textwidth to a small size, for example
10 cm, does not work to keep the page inside the paper. The extra
white space all shows up at the right side as an enormously wide
rightedge while the left margin is still partly outside the paper. In
other words: location=middle does not work.
Strange indeed.
Is there anything that could be done about this?
And would it be possible to different margin width for the right and
left margin?
Thanks in advance for any advice.
Best regards,
Robert Blackstone
___________________________________________________________________________________
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:[~2010-03-26 8:56 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-25 12:00 Robert Blackstone
2010-03-25 12:26 ` luigi scarso
2010-03-26 8:56 ` Robert Blackstone [this message]
2010-03-26 9:04 ` luigi scarso
2010-03-26 9:23 ` Alain Delmotte
-- strict thread matches above, loose matches on Subject: below --
2010-03-26 17:55 Robert Blackstone
2010-03-25 10:33 Robert Blackstone
2010-03-25 10:40 ` luigi scarso
2010-03-25 10:51 ` Taco Hoekwater
2002-07-22 15:25 Margin text Bill McClain
2002-07-22 16:32 ` John Culleton
2002-07-22 17:13 ` Hans Hagen
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=dbd60a1b1003260156i6ec9e270v3d8c9c82ba9e0688@mail.gmail.com \
--to=blackstone.robert@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).