ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Adding distances
@ 2001-09-17 12:41 Patrick Gundlach
  2001-09-19  9:27 ` backspace and pagelayout (was: Adding distances) Patrick Gundlach
  0 siblings, 1 reply; 5+ messages in thread
From: Patrick Gundlach @ 2001-09-17 12:41 UTC (permalink / raw)


Hi,

>    \dimexpr(...)
> 
> cute eh?

Indeed! My solution is now:

\setuplayout[width=fit,backspace=\dimexpr(\leftmarginwidth +\leftmargindistance)]

Thanx.

Viele Grüße,

  Patrick Gundlach

- I TeX, therefore I am -


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

* backspace and pagelayout (was: Adding distances)
  2001-09-17 12:41 Adding distances Patrick Gundlach
@ 2001-09-19  9:27 ` Patrick Gundlach
  0 siblings, 0 replies; 5+ messages in thread
From: Patrick Gundlach @ 2001-09-19  9:27 UTC (permalink / raw)


Hi,

> \setuplayout[width=fit,backspace=\dimexpr(\leftmarginwidth
> +\leftmargindistance)]

Why isn't this the default in ConTeXt? The page-layout which is the default 
is shifted to the left, because (a4paper) the backspace is 2.5 cm but the 
leftmargin + leftmargindistance is approx. 3 cm. So there is really a left 
margin of 2.5cm and a right margin of 3.6 (?) cm. Or is it a problem with 
an incorrect configuration?

-- 
Viele Grüße, 

    Patrick Gundlach


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

* Re: Adding distances
  2001-09-16 15:24 Adding distances Patrick Gundlach
  2001-09-16 17:00 ` Patrick Gundlach
@ 2001-09-17 11:29 ` Hans Hagen
  1 sibling, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2001-09-17 11:29 UTC (permalink / raw)
  Cc: Group Context

At 05:24 PM 9/16/2001 +0200, Patrick Gundlach wrote:
>Hi,
>
>what is the context way of adding distances? I'd like to set the topspace
>to leftmargin plus leftmargindistance (the original layout seems really
>strange to me...)
>So I'd like to have something like
>
>\setuplayout[topspace=\leftmargin+\leftmargindistance]

if you run pdfetex:

   \dimexpr ..... \relax

or

   \dimexpr(...)

cute eh?

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


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

* Adding distances
  2001-09-16 15:24 Adding distances Patrick Gundlach
@ 2001-09-16 17:00 ` Patrick Gundlach
  2001-09-17 11:29 ` Hans Hagen
  1 sibling, 0 replies; 5+ messages in thread
From: Patrick Gundlach @ 2001-09-16 17:00 UTC (permalink / raw)


me again,..

> what is the context way of adding distances? I'd like to set the topspace
> to leftmargin plus leftmargindistance (the original layout seems really
> strange to me...)
> So I'd like to have something like
>
> \setuplayout[topspace=\leftmargin+\leftmargindistance]

that should have been the backspace, of course.  :-) But the problem still 
remains.

-- 
Viele Grüße, 

    Patrick Gundlach


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

* Adding distances
@ 2001-09-16 15:24 Patrick Gundlach
  2001-09-16 17:00 ` Patrick Gundlach
  2001-09-17 11:29 ` Hans Hagen
  0 siblings, 2 replies; 5+ messages in thread
From: Patrick Gundlach @ 2001-09-16 15:24 UTC (permalink / raw)


Hi,

what is the context way of adding distances? I'd like to set the topspace 
to leftmargin plus leftmargindistance (the original layout seems really 
strange to me...)
So I'd like to have something like

\setuplayout[topspace=\leftmargin+\leftmargindistance]

or anything similar.

-- 
Viele Grüße, 

    Patrick Gundlach


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

end of thread, other threads:[~2001-09-19  9:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-17 12:41 Adding distances Patrick Gundlach
2001-09-19  9:27 ` backspace and pagelayout (was: Adding distances) Patrick Gundlach
  -- strict thread matches above, loose matches on Subject: below --
2001-09-16 15:24 Adding distances Patrick Gundlach
2001-09-16 17:00 ` Patrick Gundlach
2001-09-17 11:29 ` 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).