ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Asymmetric margins
@ 2002-04-04 19:55 John Culleton
  2002-04-05 13:47 ` Bill McClain
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: John Culleton @ 2002-04-04 19:55 UTC (permalink / raw)


 I would like to set up:
 left margin=.5in and right margin= 1.5in for right hand pages,
 left margin=1.5in and right margin .5in for left hand pages.

 This leaves room for a sidebar (marginal text) on the outer
 edge of either page type.

 Any suggestions? (Or if I have missed something perhaps a
 page reference :-)

 John Culleton

__________________________________________________
D O T E A S Y - "Join the web hosting revolution!"
             http://www.doteasy.com


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Asymmetric margins
  2002-04-04 19:55 Asymmetric margins John Culleton
@ 2002-04-05 13:47 ` Bill McClain
  2002-04-05 17:27   ` Hans Hagen
  2002-04-05 17:35 ` Hans Hagen
  2002-04-07 19:28 ` Henning Hraban Ramm
  2 siblings, 1 reply; 7+ messages in thread
From: Bill McClain @ 2002-04-05 13:47 UTC (permalink / raw)
  Cc: ntg-context

On Thu, 4 Apr 2002 14:55:41 -0500
John Culleton <john@wexfordpress.com> wrote:

>  I would like to set up:
>  left margin=.5in and right margin= 1.5in for right hand pages,
>  left margin=1.5in and right margin .5in for left hand pages.
> 
>  This leaves room for a sidebar (marginal text) on the outer
>  edge of either page type.

I haven't tried putting anything in the margins yet, but I want to use
marginal notes extensively in my next projects, so I am interested in
this also.

Here is how I've controlled margin widths for a book layout.

This turns on right-left mirroring:

    \setuppagenumbering[alternative=doublesided]

Say the page width is 8.5in. I want a 1in gutter on the inside margin of
each page, and a 1.5in margin on the outer edge.

    \setuplayout[backspace=1in, width=6in]

"backspace" is the gutter, "width" is the text area, and whatever is
left over is the outer margin:

    8.5 - 1 - 6 = 1.5

As far as I can see, the outer margin is not specified directly. The
page width is an implicit factor in the calculation.

-Bill


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Asymmetric margins
  2002-04-05 13:47 ` Bill McClain
@ 2002-04-05 17:27   ` Hans Hagen
  0 siblings, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2002-04-05 17:27 UTC (permalink / raw)
  Cc: ntg-context

At 07:47 AM 4/5/2002 -0600, you wrote:
>On Thu, 4 Apr 2002 14:55:41 -0500
>John Culleton <john@wexfordpress.com> wrote:
>
> >  I would like to set up:
> >  left margin=.5in and right margin= 1.5in for right hand pages,
> >  left margin=1.5in and right margin .5in for left hand pages.
> >
> >  This leaves room for a sidebar (marginal text) on the outer
> >  edge of either page type.
>
>I haven't tried putting anything in the margins yet, but I want to use
>marginal notes extensively in my next projects, so I am interested in
>this also.

hm, i've done a lot of margin stuff last days (stacking graphics in margins 
and edges, on grids, spanning areas, etc) so you can imaging that it is 
somehow possible to use the margins -)

>Here is how I've controlled margin widths for a book layout.
>
>This turns on right-left mirroring:
>
>     \setuppagenumbering[alternative=doublesided]

right, but

   alternative={doublesided,singlesided}

gives you a non mirrored alternative

>Say the page width is 8.5in. I want a 1in gutter on the inside margin of
>each page, and a 1.5in margin on the outer edge.
>
>     \setuplayout[backspace=1in, width=6in]

(in the latest version there is also cutspace)

>"backspace" is the gutter, "width" is the text area, and whatever is
>left over is the outer margin:
>
>     8.5 - 1 - 6 = 1.5
>
>As far as I can see, the outer margin is not specified directly. The
>page width is an implicit factor in the calculation.

you can specify

   backspace=1in,cutspace=1.5in,width=middle

indeed the page width is importasnt, which is why you can say:

\definepapersize[WhyUseInches][width=8.5in,height=14in]

\setuppapersize[WhyUseInches][letter]

\setuplayout[location=middle,marking=on]

etc etc

Also, you can specify leftmargin/rightmargin etc but those are virtual

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                                   fall-back web server: 
www.pragma-ade.nl
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Asymmetric margins
  2002-04-04 19:55 Asymmetric margins John Culleton
  2002-04-05 13:47 ` Bill McClain
@ 2002-04-05 17:35 ` Hans Hagen
  2002-04-07 20:50   ` John Culleton
  2002-04-07 19:28 ` Henning Hraban Ramm
  2 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2002-04-05 17:35 UTC (permalink / raw)
  Cc: ntg-context

At 02:55 PM 4/4/2002 -0500, John Culleton wrote:
>  I would like to set up:
>  left margin=.5in and right margin= 1.5in for right hand pages,
>  left margin=1.5in and right margin .5in for left hand pages.
>
>  This leaves room for a sidebar (marginal text) on the outer
>  edge of either page type.

it's always dangerous to change dimensions while tex is not yet finished 
with a page (you never know where tex will break), however, you can say:

\definelayout[odd] [width=10cm]
\definelayout[even][width=12cm]
\definelayout[3]   [width=5cm]

and give \dorecurse{100}{\input tufte \par}

a try; this demonstrates that you can fool around with margins on left and 
right pages

Hans

-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                                   fall-back web server: 
www.pragma-ade.nl
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Asymmetric margins
  2002-04-04 19:55 Asymmetric margins John Culleton
  2002-04-05 13:47 ` Bill McClain
  2002-04-05 17:35 ` Hans Hagen
@ 2002-04-07 19:28 ` Henning Hraban Ramm
  2 siblings, 0 replies; 7+ messages in thread
From: Henning Hraban Ramm @ 2002-04-07 19:28 UTC (permalink / raw)


Am Donnerstag, 4. April 2002 21:55 schrieb John Culleton:
>  Any suggestions? (Or if I have missed something perhaps a
>  page reference :-)

Shy question: Did you have a look in the manual at the page with all the 
configurable widths and heights?
Further: try \showlayout

-- 
Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/
---


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Asymmetric margins
  2002-04-05 17:35 ` Hans Hagen
@ 2002-04-07 20:50   ` John Culleton
  2002-04-08  7:26     ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: John Culleton @ 2002-04-07 20:50 UTC (permalink / raw)
  Cc: ntg-context

On Friday 05 April 2002 12:35, Hans Hagen wrote:
> At 02:55 PM 4/4/2002 -0500, John Culleton wrote:
> >  I would like to set up:
> >  left margin=.5in and right margin= 1.5in for right hand pages,
> >  left margin=1.5in and right margin .5in for left hand pages.
> >
> >  This leaves room for a sidebar (marginal text) on the outer
> >  edge of either page type.
>
> it's always dangerous to change dimensions while tex is not yet
> finished with a page (you never know where tex will break),
> however, you can say:
>
> \definelayout[odd] [width=10cm]
> \definelayout[even][width=12cm]
> \definelayout[3]   [width=5cm]
>
> and give \dorecurse{100}{\input tufte \par}
>
> a try; this demonstrates that you can fool around with margins on
> left and right pages
>
> Hans
>
I don't find \definelayout in the manual. Does it take the same 
options as \setuplayout?

John Culleton

__________________________________________________
D O T E A S Y - "Join the web hosting revolution!"
             http://www.doteasy.com


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Asymmetric margins
  2002-04-07 20:50   ` John Culleton
@ 2002-04-08  7:26     ` Hans Hagen
  0 siblings, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2002-04-08  7:26 UTC (permalink / raw)
  Cc: ntg-context

At 03:50 PM 4/7/2002 -0500, John Culleton wrote:

>I don't find \definelayout in the manual. Does it take the same

new command

>options as \setuplayout?

indeed
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                                   fall-back web server: 
www.pragma-ade.nl
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-04-08  7:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-04 19:55 Asymmetric margins John Culleton
2002-04-05 13:47 ` Bill McClain
2002-04-05 17:27   ` Hans Hagen
2002-04-05 17:35 ` Hans Hagen
2002-04-07 20:50   ` John Culleton
2002-04-08  7:26     ` Hans Hagen
2002-04-07 19:28 ` Henning Hraban Ramm

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