Re: Clear double page and start at left page

2010-01-25 Thread Jan Piet Joris en Corneel
Finally managed to solve the problem using the textpos package.

In your preamble, put:

% absolute to use whole page, showboxes draws line around each box,
useful for debugging
\usepackage[absolute,showboxes]{textpos}
% sets up a grid, useful for debugging
\usepackage[texcoord,colorgrid]{eso-pic}
% adjust zero point to left upper of page
\textblockorigin{0mm}{0mm}
% generate grid of 10x10 and keep margins of 15 mm left and right and
30 mm top bottom around the grid
\TPGrid[15mm,30mm]{10}{10}
% create some constants.
\newcommand{\boxwidth}{5}
\newcommand{\xleft}{0}
\newcommand{\yleft}{0}
\newcommand{\xright}{5.1}
\newcommand{\yright}{5}

then, instert some ERT to have one page with four figures.

\begin{textblock}{\boxwidth}(\xleft,\yleft)  \end{textblock}
\begin{textblock}{\boxwidth}(\xright,\yleft)  \end{textblock}
\begin{textblock}{\boxwidth}(\xleft,\yright)  \end{textblock}
\begin{textblock}{\boxwidth}(\xright,\yright)  \end{textblock}

insert your figures / minipage / whatever you want at  in the
normal Lyx way.

If you have multiple pages with figures and no text, inserting a clear
page / clear double page / page break / new page is NOT sufficient to
prevent the figures from cluttering on one page. You have to put a
'protected space' (Ctrl+Space) behind the last '\end(textblock)' ERT.
It took me quite a while to figure this out, but it has to do with the
fact minipages are just put under normal text, no wrapping is applied.

If you want the content of a textblock to scale with \boxwidth (you
probably want that), insert the content in a minipage (Box in Lyx) and
set the width of the minipage to 100 Column Width %. The minipage may
also be in a float figure environment.

Finally, it would have been useful if somebody had provided me a hint
to this package...

Regards,
Corné

2010/1/24 Jan Piet Joris en Corneel :
> Dear all,
>
> I have two pages of graphs of a measurement in a two sided layout with
> normal left-to-right text. I use classicthesis.
>
> The graphs consists of four floats and should be printed on two pages
> opposite to each other, so when someone opens the document, one can
> see all four graphs at once.
>
> Until now, I tried with clear page, clear double page ect. to do this.
> Unfortunately after 'clear double page', a right (odd) page starts,
> which is expected behaviour. I want to change this to left for this
> case.
>
> In the other parts of the document, clear double page should behave normally.
>
> Does anybody have some suggestions? Maybe clever use of minipage or ERT?
>
> Thanks,
> Corné
>


Clear double page and start at left page

2010-01-24 Thread Jan Piet Joris en Corneel
Dear all,

I have two pages of graphs of a measurement in a two sided layout with
normal left-to-right text. I use classicthesis.

The graphs consists of four floats and should be printed on two pages
opposite to each other, so when someone opens the document, one can
see all four graphs at once.

Until now, I tried with clear page, clear double page ect. to do this.
Unfortunately after 'clear double page', a right (odd) page starts,
which is expected behaviour. I want to change this to left for this
case.

In the other parts of the document, clear double page should behave normally.

Does anybody have some suggestions? Maybe clever use of minipage or ERT?

Thanks,
Corné