From: nico <nicolas.marsgui@libertysurf.fr>
Subject: Re: Layout and textwidth/textmargin
Date: Sat, 26 Aug 2006 20:45:31 +0200 [thread overview]
Message-ID: <optewmd5s69niby6@localhost> (raw)
In-Reply-To: <opteswo80d9niby6@localhost>
On Thu, 24 Aug 2006 20:37:46 +0200, nico <nicolas.marsgui@libertysurf.fr>
wrote:
> Hello,
>
> I wonder if it is possible to setup a layout with these requirements:
>
> - it can be doublesided, that is, when doublesided the left margin (LM)
> and right margin (RM) are different and mirrored on right/left pages.
>
> - the headings (section, etc.) start just after the left margin.
>
> - the text body has an extra left text margin (TM) that is not mirrored.
>
> Here is an example of the expected output in doublesided mode:
>
> Left Page:
> LM TM RM
> |<--7--><-- 8--> <-5->|
> | 1. This is a Title |
> | |
> | This is the text body |
> | that has a bigger left |
> | margin. |
>
> Right Page:
>
> RM TM LM
> |<-5-><-- 8--> <--7-->|
> | The test continues on |
> | This page. |
> | |
> | 2. Another Title |
> | |
Well, I start from the beginning with odd/even layout setting, and the
following does not work. The behaviour I see is that only the odd setting
is used. What is wrong in there?
\definelayout[odd]
[width=middle,
backspace=7cm,
cutspace=5cm]
\definelayout[even]
[backspace=8cm,
cutspace=2cm,
width=middle]
\setuplayout
%\showlayout
\starttext
\dorecurse{4}{
\section{Hello}
\input knuth \endgraf
\subsection{Sub Hello}
\input tufte \endgraf}
\stoptext
Regards,
BG
next prev parent reply other threads:[~2006-08-26 18:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-24 18:37 nico
2006-08-26 18:45 ` nico [this message]
2006-08-26 20:16 ` Willi Egger
2006-08-26 20:29 ` Hans Hagen
2006-08-26 21:39 ` nico
[not found] <mailman.518.1156649529.2039.ntg-context@ntg.nl>
2006-08-27 19:10 ` wwl
2006-08-27 19:58 ` nico
2006-08-27 22:14 ` Horacio Suarez
2006-08-28 7:50 ` 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=optewmd5s69niby6@localhost \
--to=nicolas.marsgui@libertysurf.fr \
--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).