ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: layout question
Date: Fri, 18 Aug 2006 18:40:21 +0200	[thread overview]
Message-ID: <44E5ED75.3050006@wxs.nl> (raw)
In-Reply-To: <44E5DBA0.5010300@mevis.de>

richard rascher-friesenhausen wrote:
> Hello,
>
> i have a simple (?) layout question. I want to typeset a doublesided 
> text with a larger margin on one side. This margin will be filled with 
> 'margin images' or 'margin remarks'. But sometimes, larger images have 
> to be placed in the text+margin.
>
> Which commands, options or setups are correct, to get the same results 
> on odd and even pages? In the attached pdf file,  odd and even pages 
> behave different, using a simple setup (see tex file).

it's dangerous to use dimensions in \setuplayout that get set themselves

also, textwidth is for special purposed and special effects, not to be 
used here (spoils things)

\setuppapersize[A4][A4]

\setuplayout
  [width=middle,
   backspace=.75in,
   curspace=2.55in,
   leftmargin=.50in,
   margindistance=.25in,
   rightmargin=2.3in]

\setuppagenumbering[alternative={singlesided,doublesided}]

\starttext

The very first page with a small image in the (bigger) margin.

\placefigure
  [inright]{a margin image}
  {\framed[width=\marginwidth,height=3cm]{image}}

\input tufte

An now a larger image in the text and margin are

\placefigure
  [here,inright]{a text+margin image}
  {\framed[width=1.2\textwidth,height=3cm]{image}}

\inmargin{Tufte text} \input tufte \page

The second page  with a small image in the (bigger) margin.

\placefigure
  [inright]
  {a margin image}
  {\framed[width=\rightmarginwidth,height=3cm]{image}}

\input tufte

An now a larger image in the text and margin are

\placefigure
  [here,inright]
  {a text+margin image}
  {\framed[width=1.2\textwidth,height=3cm]{image}}

\inmargin{Tufte text} \input tufte \page


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

  reply	other threads:[~2006-08-18 16:40 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-18 15:24 richard rascher-friesenhausen
2006-08-18 16:40 ` Hans Hagen [this message]
2006-08-21 10:12   ` richard rascher-friesenhausen
2006-08-21 17:17     ` David Arnold
2006-08-22  9:24       ` richard rascher-friesenhausen
2006-08-22 14:27         ` Aditya Mahajan
2006-08-22 14:57           ` Hans Hagen
2006-08-22 15:31           ` richard rascher-friesenhausen
2006-08-22 14:56         ` Hans Hagen
2006-08-28  8:58           ` richard rascher-friesenhausen
2006-08-28 19:23             ` nico
2006-08-28 19:42               ` Hans Hagen
2006-08-28 20:31                 ` nico
2006-08-28 21:49                   ` Hans Hagen
2006-08-29  7:49                     ` richard rascher-friesenhausen
2006-08-29 13:26                       ` figures and footnotes Horacio Suarez
2006-08-29 14:01                         ` Mari Voipio
2006-08-29 13:59                           ` Horacio Suarez
2006-08-29  8:11               ` layout question richard rascher-friesenhausen
2006-08-29 22:18                 ` nico
2007-02-06  3:45 Layout Question Helin Gai
2007-02-06  7:09 ` Alex Lubberts
2007-02-06  7:20   ` Helin Gai

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=44E5ED75.3050006@wxs.nl \
    --to=pragma@wxs.nl \
    --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).