ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* layout question
@ 2006-08-18 15:24 richard rascher-friesenhausen
  2006-08-18 16:40 ` Hans Hagen
  0 siblings, 1 reply; 20+ messages in thread
From: richard rascher-friesenhausen @ 2006-08-18 15:24 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 990 bytes --]

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

richard

-- 

==============================================================================
Richard Rascher-Friesenhausen                
MeVis -- Centrum fuer Medizinische Diagnosesysteme und Visualisierung GmbH
Universitaetsallee 29
D-28359 Bremen

email: richard@mevis.de, richard.rascher-friesenhausen@hs-bremerhaven.de
www  : http://www.mevis.de/, http://www.hs-bremerhaven.de/
fon  : +49 - 421 - 218 7707 (mevis)
fax  : +49 - 421 - 218 4236 (mevis)
==============================================================================


[-- Attachment #2: layout-test.tex --]
[-- Type: text/plain, Size: 1799 bytes --]

% output=pdf
%=======================================================================
% begin of file *layout-test.tex*
%=======================================================================
% richard@mevis.de

% layout
%-----------------------------------------------------------------------
\setuppapersize[A4][A4]

\setuplayout[leftmargin=0.5in,rightmargin=2.3in,textwidth=5in]
\setuplayout[width=fit,
             backspace=\dimexpr(\leftmarginwidth+\leftmargindistance)]

\setuppagenumbering[alternative=doublesided]

%=======================================================================
\starttext
%=======================================================================
The very first page with a small image in the (bigger) margin.
\placefigure[inmargin]{a margin image}
  {\framed[width=\marginwidth,height=3cm]{image}}

\input tufte

An now a larger image in the text and margin are
\placefigure[here,inmargin]{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[inmargin]{a margin image}
  {\framed[width=\marginwidth,height=3cm]{image}}

\input tufte

An now a larger image in the text and margin are
\placefigure[here,inmargin]{a text+margin image}
  {\framed[width=1.2\textwidth,height=3cm]{image}}

\inmargin{Tufte text}
\input tufte

%=======================================================================
\stoptext
%=======================================================================
% end of file *layout-test.tex*
%=======================================================================

[-- Attachment #3: layout-test.pdf --]
[-- Type: application/pdf, Size: 17539 bytes --]

[-- Attachment #4: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

end of thread, other threads:[~2006-08-29 22:18 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-18 15:24 layout question richard rascher-friesenhausen
2006-08-18 16:40 ` Hans Hagen
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

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