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: [EMAIL PROTECTED], [EMAIL PROTECTED]
www  : http://www.mevis.de/, http://www.hs-bremerhaven.de/
fon  : +49 - 421 - 218 7707 (mevis)
fax  : +49 - 421 - 218 4236 (mevis)
==============================================================================

% output=pdf
%=======================================================================
% begin of file *layout-test.tex*
%=======================================================================
% [EMAIL PROTECTED]

% 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: layout-test.pdf
Description: Adobe PDF document

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

Reply via email to