# Include a PDF-file and write text above on the same page [duplicate]

I would like to have a section where I insert a PDF-page and write a few lines of text before. What I got:

``````\section{FOO}
%some text is following
\includepdf[scale=0.9,pages=1,pagecommand={},offset=0 -3cm]{myPDF.pdf}
``````

Sadly the `\includepdf`-command seems to produce a pagebreak right when it is used. One workaround is to insert the `\section{FOO}` into the `pagecommand`-option of `\includepdf`, but in that case I am not able to write some text between the PDF and the section-heading. How can I have heading, text and PDF on the same page?

## marked as duplicate by cfr, Phelype Oleinik, marmot, Stefan Pinnow, TeXnicianJul 3 '18 at 6:00

• @koleygr Thanks for your answer. That was not exactly what I wanted. What did the trick was simply replacing then `\includepdf` by `\includegraphics` since the `includepdf` uses the `includegraphics` internally and `includegraphics` seems not to be inserting a pagebreak – Rüdiger Jul 2 '18 at 22:19