0

I have a new page, with title. I want my pdf file to show up under the title. However, the pdf shows up on the following page. I want the pdf to be under the title page. Is the issue the size of the pdf? Here's my code:

\newpage
\section{Requirements Document}
\includepdf[pages=-]{requirements_xlsx.pdf}
OSU_2016
  • 179
  • 2
    \includepdf is meant exactly for including full pages; what you are looking for can be accomplished with \begin{center}\includegraphics[...]{...}\end{center}, or something similar. I think you should clarify your question, though. – GuM Jun 04 '15 at 05:06
  • How many pages are in requirements_xlsx.pdf? – Werner Jun 04 '15 at 05:07
  • @Werner Two pages are in it – OSU_2016 Jun 04 '15 at 05:08
  • @Gustavo Mezzetti What is unclear? – OSU_2016 Jun 04 '15 at 05:09
  • It simply stands for the arguments of the \includegraphics command. – GuM Jun 04 '15 at 05:11
  • @GustavoMezzetti I don't understand what you are saying? You said to clarify my question, so I asked what is unclear? – OSU_2016 Jun 04 '15 at 05:12
  • 1
    As @Mezetti was saying, use \includegraphics instead. –  Jun 04 '15 at 05:14
  • Sorry for answering only this evening, I haven’t logged in again since this morning. It wasn’t clear to me exactly what output you were looking for. But now that you have posted the solution you have found by yourself, it has become clear. And, my previous comment was in reply to another comment, now removed, that was asking about the meaning of [...]{...}. – GuM Jun 04 '15 at 15:15

1 Answers1

1

I found my answer through the following link:

How to include PDF pages without a newpage before the first page?

I changed my code to be as follows and it works as I wish:

\includepdf[pages=1,pagecommand=\section{Requirements Document}]{requirements_xlsx.pdf}
\includepdf[pages=2-,pagecommand={}]{requirements_xlsx.pdf}
OSU_2016
  • 179