How to keep material on one double page in latex ?

Posted by drasto on Stack Overflow See other posts from Stack Overflow or by drasto
Published on 2010-04-08T12:10:25Z Indexed on 2010/04/08 12:13 UTC
Read the original article Hit count: 332

Filed under:
|

I have two side document(so I use twoside option) in latex. I need to keep some material(text, pictures...) on one double page. In another words I want to allow page break from odd to even page but I want to prohibit breaks from even to odd page.

I tried to write macro:

\newcommand{\nl}{
\\ \ifodd\c@page
\relax
\else
\nopagebreak
\fi}

and use it instead of \ (I don't use any other line breaks commands in my document) but it does not work. Thanks for all answers.

© Stack Overflow or respective owner

Related posts about latex

Related posts about macros