[Tex/LaTex] How to force output to a left (or right) page

double-sidedpage-breaking

I am putting together a document that has several cover pages, both for front and back cover. The bulk of the document is two-sided. Cover pages, however, must be right-side (or left-side, for the back cover) pages.

How can I force the next page to specifically be a right-side-page or a left-side-page?

Best Answer

For odd / right-side pages you can use \cleardoublepage in two-sided documents. (In one-sided ones \cleardoublepage is identical to \clearpage)

To force even / left-side pages you would need to define your own macro based on \cleardoublepage, but with reversed logic:

\documentclass{book}

\newcommand*\cleartoleftpage{%
  \clearpage
  \ifodd\value{page}\hbox{}\newpage\fi
}

% Demonstration / Test:
\begin{document}
  Title on right side
\cleardoublepage
  other title on right side
\cleartoleftpage
  on the left side
\cleartoleftpage
  also on the left side
\cleardoublepage
  right side again
\end{document}

A more complex version which behaves nicely in single-sided documents and also supports two-column mode is:

\makeatletter
\newcommand*{\cleartoleftpage}{%
  \clearpage
    \if@twoside
    \ifodd\c@page
      \hbox{}\newpage
      \if@twocolumn
        \hbox{}\newpage
      \fi
    \fi
  \fi
}
\makeatother

This is the definition of \cleardoublepage just with the \else removed to negate the logic, i.e. make it force even pages instead of odd.