[Tex/LaTex] Add blank/empty page after every page automatically

page-breakingprinting

I wrote my thesis and my school wants an one-sided print. The printing and binding will be done by a professional bookbinder. They only accept only two sided manuscripts.


My \documentclass:

\documentclass[
11pt,
ngerman,
onehalfspacing,
headsepline,
oneside
]{MastersDoctoralThesis}

Because of that I need to add a blank page after every page of content. I don't want to do this manually using \newpage or \clearpage because there are too many pages. Is there any LaTeX command (or package) to do this (automatically)?

Thanks for your help!

Best Answer

A solution with package atbegshi. It hooks into \shipout, the internal command to ship out a page. The hook (\AtBeginShipout{...} adds an empty page before the actual page except for the first.

\documentclass{article}

\usepackage{atbegshi}
\AtBeginShipoutFirst{%
  \AtBeginShipout{%
    \AtBeginShipoutOriginalShipout\null
  }%
}

\usepackage{blindtext}
\begin{document}
\blinddocument
\end{document}

Five pages are generated: 1st page, empty page, 2nd page, empty page, 3rd page.