inside and outside margins (vs. 'left' and 'right' margins)
![](https://secure.gravatar.com/avatar/c037e51c81ff40b910e63b6f9dab5230.jpg?s=120&d=mm&r=g)
I want to define 'inside' and 'outside' margins (i.e. left and right pages are symmetrical, not the same). Reading the document 'co-pagedesign.pdf', ConTeXt talks about 'left' and 'right' margins (and other measurements). At first I thought this must be either a 'representative' left or right page (the diagram on page 3 doesn't say which), but experimenting suggests that there really is no concept of left and right pages here (despite the incredible detail that the document goes into on arranging pages etc which must understand this). In short this is a basic requirement. How do I solve it? James
![](https://secure.gravatar.com/avatar/5faea8b4fa0adb143383811dc94f0d22.jpg?s=120&d=mm&r=g)
Hi James, You can use \inoutermargin{some marginal note} and \ininnermargin{some marginal note} Then when you use \setuplayout[location=doublesided] at the beginning of your file, the above two commands should give you what you seem to be wanting. Best regards: OK On 9 avr. 2011, at 22:26, James Fisher wrote:
I want to define 'inside' and 'outside' margins (i.e. left and right pages are symmetrical, not the same). Reading the document 'co-pagedesign.pdf', ConTeXt talks about 'left' and 'right' margins (and other measurements). At first I thought this must be either a 'representative' left or right page (the diagram on page 3 doesn't say which), but experimenting suggests that there really is no concept of left and right pages here (despite the incredible detail that the document goes into on arranging pages etc which must understand this).
In short this is a basic requirement. How do I solve it?
James ___________________________________________________________________________________ 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 ___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/c037e51c81ff40b910e63b6f9dab5230.jpg?s=120&d=mm&r=g)
Hi Otared,
Thanks. Two problems here:
- the \inoutermargin and \ininnermargin commands add text to the margins. I
can set it to no text, but I don't see why they would be necessary to define
inner and outer margin size.
- the location=doublesided looks like what I was looking for, but it doesn't
affect anything! (Nor does duplex.) Every page still has the same margins
irrespective of whether they're even or odd.
James
On Sat, Apr 9, 2011 at 9:34 PM, Otared Kavian
Hi James,
You can use \inoutermargin{some marginal note} and \ininnermargin{some marginal note} Then when you use \setuplayout[location=doublesided] at the beginning of your file, the above two commands should give you what you seem to be wanting.
Best regards: OK
On 9 avr. 2011, at 22:26, James Fisher wrote:
I want to define 'inside' and 'outside' margins (i.e. left and right pages are symmetrical, not the same). Reading the document 'co-pagedesign.pdf', ConTeXt talks about 'left' and 'right' margins (and other measurements). At first I thought this must be either a 'representative' left or right page (the diagram on page 3 doesn't say which), but experimenting suggests that there really is no concept of left and right pages here (despite the incredible detail that the document goes into on arranging pages etc which must understand this).
In short this is a basic requirement. How do I solve it?
James
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
___________________________________________________________________________________
___________________________________________________________________________________ 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
___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/5a39f1335b6eff433673ed987859fb24.jpg?s=120&d=mm&r=g)
Am 2011-04-09 um 22:26 schrieb James Fisher:
I want to define 'inside' and 'outside' margins (i.e. left and right pages are symmetrical, not the same). Reading the document 'co- pagedesign.pdf', ConTeXt talks about 'left' and 'right' margins (and other measurements). At first I thought this must be either a 'representative' left or right page (the diagram on page 3 doesn't say which), but experimenting suggests that there really is no concept of left and right pages here (despite the incredible detail that the document goes into on arranging pages etc which must understand this).
In short this is a basic requirement. How do I solve it?
As stated on http://wiki.contextgarden.net/Layout : "You define always a right page; if you use a double page layout 'right' and 'left' values are mirrored on a left page." Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer)
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Sat, 9 Apr 2011, Henning Hraban Ramm wrote:
Am 2011-04-09 um 22:26 schrieb James Fisher:
I want to define 'inside' and 'outside' margins (i.e. left and right pages are symmetrical, not the same). Reading the document 'co-pagedesign.pdf', ConTeXt talks about 'left' and 'right' margins (and other measurements). At first I thought this must be either a 'representative' left or right page (the diagram on page 3 doesn't say which), but experimenting suggests that there really is no concept of left and right pages here (despite the incredible detail that the document goes into on arranging pages etc which must understand this).
In short this is a basic requirement. How do I solve it?
As stated on http://wiki.contextgarden.net/Layout : "You define always a right page; if you use a double page layout 'right' and 'left' values are mirrored on a left page."
A concerete example: \setuplayout [backspace=5cm, cutspace=2cm, leftmargin=4cm, rightmargin=1cm, width=middle] \setuppagenumbering[alternative=doublesided] \showframe \starttext \dorecurse{8}{Page \recurselevel \page} \stoptext Aditya
![](https://secure.gravatar.com/avatar/c037e51c81ff40b910e63b6f9dab5230.jpg?s=120&d=mm&r=g)
On Sat, Apr 9, 2011 at 10:11 PM, Aditya Mahajan
On Sat, 9 Apr 2011, Henning Hraban Ramm wrote:
Am 2011-04-09 um 22:26 schrieb James Fisher:
I want to define 'inside' and 'outside' margins (i.e. left and right
pages are symmetrical, not the same). Reading the document 'co-pagedesign.pdf', ConTeXt talks about 'left' and 'right' margins (and other measurements). At first I thought this must be either a 'representative' left or right page (the diagram on page 3 doesn't say which), but experimenting suggests that there really is no concept of left and right pages here (despite the incredible detail that the document goes into on arranging pages etc which must understand this).
In short this is a basic requirement. How do I solve it?
As stated on http://wiki.contextgarden.net/Layout : "You define always a right page; if you use a double page layout 'right' and 'left' values are mirrored on a left page."
A concerete example:
\setuplayout [backspace=5cm, cutspace=2cm, leftmargin=4cm, rightmargin=1cm, width=middle]
\setuppagenumbering[alternative=doublesided]
\showframe
\starttext \dorecurse{8}{Page \recurselevel \page} \stoptext
Aha, so this works -- thanks Aditya. Although it seems strange that this is hidden under 'page numbering' which (I would say) is nothing to do with page margins! James
participants (4)
-
Aditya Mahajan
-
Henning Hraban Ramm
-
James Fisher
-
Otared Kavian