From: "Alex Lubberts" <alex@lubberts.org>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: How to set a layout shown in the attachment png file?
Date: Thu, 16 Apr 2009 08:45:45 +0200 (CEST) [thread overview]
Message-ID: <876be03aab4f98e2a18a601a48c09afa.squirrel@webmail.lubberts.org> (raw)
In-Reply-To: <49E6880D.9090603@gmail.com>
> I attached a PNG file to show the layout that I want. I want the text part
> narrowed and
> right aligned. I tried the following settings:
>
> \setuplayout
> [backspace=20mm,
> topspace=20mm,
> height=257mm,
> width=170mm,
> %textwidth=115mm,
> header=10mm,
> footer=0mm,
> rightmargin=0mm,
> leftmargin=25mm,
> leftmargindistance=-25mm,]
>
> The problem is that text is too wide. I commented the 'textwidth' for it
> will make the
> narrowed text centering. What else do I need to set?
>From the picture the exact measures are not clear, but perhaps you should
try:
...
width=115mm,
...
leftmargindistance=25mm]
'width' is used to set the textwidth. And 'leftmargindistance'is used to
indicate the distance between the lefmargin column and the body text, so I
think it should be a positive amount. This setting will result in an empty
backspace of 20mm + margin of 25mm + 25mm whitespace + 115mm bodytext +
cutspace of 25mm cutspace (assuming you're using A4 papersize).
Regards,
Alex
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2009-04-16 6:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-16 1:21 Wei-Wei Guo
2009-04-16 6:45 ` Alex Lubberts [this message]
2009-04-16 7:33 ` Wei-Wei Guo
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=876be03aab4f98e2a18a601a48c09afa.squirrel@webmail.lubberts.org \
--to=alex@lubberts.org \
--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).