TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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




Final code:

\usepackage{rotating}             % For sideways figures
\usepackage{url}                                    % URL package
%\usepackage{titlesec}                      % Change space between title and text, if needed
\usepackage{eurosym}                            % Euro symbol
\usepackage{gensymb}                            % Degree symbol
\usepackage{appendix}                       % Appendix packages!!!
\usepackage{booktabs}                       % For toprule, middlerule & bottomrule

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

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

%  {\bfseries\Huge}
%  {\filright\Large\chaptertitlename\ \thechapter}
%  {0mm}{\filright}
%  {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}



\input{0_Title_Page/PreTitle} % front cover


\input{0_Title_Page/TitlePage} %'real' title page
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
You might be interested in the matlab-prettifier package; see this answer. – Jubobs Apr 28 '14 at 17:07

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

share|improve this answer

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

Your Answer


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.