3

I've followed advice at "How to start new chapters on the right hand side" and found that including as title page, one PDF page is braking left&right orientation:

\documentclass[pdftex,a4paper,12pt,twoside,openright]{report}
\usepackage[pdftex,a4paper]{geometry}
\usepackage{pdfpages}
\usepackage{lipsum}
\begin{document}
\includepdf{onetitlepage.pdf}   % <---- problem
\begin{abstract}
Abstract \lipsum[1]
\end{abstract}
\tableofcontents
\chapter{CH1}
\lipsum[2-6]
\chapter{CH2}
\lipsum[7-8]
\chapter{CH3}
\lipsum[9]
\end{document}

After including one page PDF, I get same document, but with one more page on beginning. It's all right except one thing: right pages are now left pages.

My current workaround is to include additional empty page, like that:

\includepdf{onetitlepage.pdf}
\includepdf{oneemptypage.pdf}   % <---- current solution

Is is LaTeX-y way?

Can it be done in more elegant, LaTeX-y way?

What is the reason why including onepage.pdf breaks left&right hand side, and how to prevent it when writing documents?

  • 2
    BTW: You don't need an additional empty PDF file, specifying \includepdf[pages={1,{}}]{onetitlepage.pdf} (the {} creates a blank page) is enough - however, egreg's solution is the far better approach. – diabonas Feb 18 '12 at 14:33
  • Thanks, your advice help me as well, because I don't want to have second page blank with "2" on bottom - instead, I prefer to have whole page empty. – Grzegorz Wierzowiecki Feb 18 '12 at 15:00
  • However there is alternative solution for preventing header&footer : tex.stackexchange.com/questions/1681/… – Grzegorz Wierzowiecki Feb 18 '12 at 15:03
6

Put \cleardoublepage after \includepdf. Also, specify the notitlepage option, so the abstract will not start anew the page numbering.

\documentclass[a4paper,12pt,twoside,openright,notitlepage]{report}
\usepackage{geometry}
\usepackage{pdfpages}
\usepackage{lipsum}
\begin{document}

\includepdf{onetitlepage.pdf}
\cleardoublepage

\begin{abstract}
Abstract \lipsum[1]
\end{abstract}

\tableofcontents

\chapter{CH1}
\lipsum[2-6]
\chapter{CH2}
\lipsum[7-8]
\chapter{CH3}
\lipsum[9]
\end{document}

Never specify the pdftex option (there are cases where it's necessary, though, in connection with geometry and crop, but it's not your case).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.