Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have a little problem with a pdf that I want as front cover for a report. When I add a pdf as front cover I get first a white page and after that the pdf. But I want it to print the pdf first than white page and after that the title page. Does anyone know what I'm doing wrong?

PreTitle page code

\begin{titlepage}
\begin{center}

\includepdf[scale=1.0]{0_Title_Page/Voorkant.pdf}

\end{center}
\end{titlepage}

Final code:

\documentclass[a4paper,11pt,oneside]{scrbook}
\usepackage[monochrome]{xcolor}
\usepackage{geometry}
  \geometry{a4paper}
    \geometry{width=0.7\paperwidth,height=0.8\paperheight}
\usepackage{graphicx}
\usepackage{rotating}             % For sideways figures
\usepackage{subfig}
\usepackage{epsfig}
\usepackage{amsmath}
\usepackage{epstopdf}
\usepackage{fullpage}
\usepackage{url}                                    % URL package
\usepackage[parfill]{parskip}
\usepackage{float}
\usepackage{pdfpages}
%\usepackage{titlesec}                      % Change space between title and text, if needed
\usepackage{multirow}
\usepackage{eurosym}                            % Euro symbol
\usepackage{gensymb}                            % Degree symbol
\usepackage{appendix}                       % Appendix packages!!!
\usepackage{titlesec}
\usepackage{booktabs}                       % For toprule, middlerule & bottomrule
\usepackage{chngcntr}
\counterwithout{footnote}{chapter}
\usepackage{footnote}
\bibliographystyle{unsrt} 

%\renewcommand\enoteformat{\noindent\theenmark.\hspace{0.06in}} % change superscript to 1.
%\let\footnote=\endnote % Trun footnotes to ENDnotes

%\usepackage{mcode}         %When adding matlab code!!!

%\titleformat{\chapter}[display]
%  {\bfseries\Huge}
%  {\filright\Large\chaptertitlename\ \thechapter}
%  {0mm}{\filright}
%\titlespacing*{\chapter}
%  {0pt}{-10pt}{0pt} % als je de 3de veranderd kun je de spacing tussen het hoofdstuk en tekst kleiner maken.

\DeclareGraphicsRule{.tif}{png}{.png}{`convert #1 `dirname #1`/`basename #1 .tif`.png}

\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}

\begin{document}

\input{0_Title_Page/PreTitle} % front cover

\cleardoublepage

\input{0_Title_Page/TitlePage} %'real' title page
\end{document}
share|improve this question
    
Welcome to TeX.sx! A tip: If you indent lines by 4 spaces, then they are marked as a code sample. You can also highlight the code and click the "code" button (with "{}" on it). –  Seamus Jun 27 '11 at 12:53
add comment

2 Answers

Don't use the center environment; \includepdf will center the page anyway.

share|improve this answer
add comment

The \includepdf generates a new page by itself. You seem to have some code which adds some (invisible) material before it which got already placed on the current page. Therefore this page is first flushed out before the PDF is included. In general, to solve this remove the code which causes this before the \includepdf. In your case the extra page is caused by the center environment which uses a list environment internally (trivlist). You should avoid using center with images in general (e.g. with figure). It is intended for text paragraphs and adds an extra vertical space before and after it.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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