ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Layout and textwidth/textmargin
@ 2006-08-24 18:37 nico
  2006-08-26 18:45 ` nico
  2006-08-26 20:16 ` Willi Egger
  0 siblings, 2 replies; 9+ messages in thread
From: nico @ 2006-08-24 18:37 UTC (permalink / raw)


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                     |
|                                          |

For singlesided documents I can play with a setup like this (the  
margindistances should be taken into account too):

\setuphead[section][margin=-TM]
\setuplayout[leftmargin=TM+LM,
              rightmargin=RM,
              backspace=TM+LM,
              width=\paperwidth-(RM+TM+LM)]

For doublesided documents I thought about using textwidth or textmargin,  
but in this case the text margin is applied on left and right (the text is  
in the middle).

Should I play with other setup parameters? What is the best way to achieve  
this?

Thanks for any hint,

Regards,
BG

^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <mailman.518.1156649529.2039.ntg-context@ntg.nl>]

end of thread, other threads:[~2006-08-28  7:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-24 18:37 Layout and textwidth/textmargin nico
2006-08-26 18:45 ` nico
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

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).