GeneralUsing \includepdf in the same page as the section heading

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
darkwhite87
Posts: 3
Joined: Tue Oct 06, 2009 4:17 am

Using \includepdf in the same page as the section heading

Post by darkwhite87 »

I am trying to insert a pdf in my appendix,
the problem i have now is that my inserted pdf always starts on a blank new page,
which leaves me- a first page with me section heading of the appendix name
and pdf amterial starts on the 2nd page

I have tried to scale the pdf image down, and it definitely should fit in the same page with my head, yet it still wants to start on a new page

any idea is appreciated,

Thanks,
J

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Using \includepdf in the same page as the section heading

Post by localghost »

Insert the file by using the \includegraphics command from the graphicx package. If necessary, cut the image to remove white margins.


Best regards and welcome to the board
Thorsten¹
darkwhite87
Posts: 3
Joined: Tue Oct 06, 2009 4:17 am

Re: Using \includepdf in the same page as the section heading

Post by darkwhite87 »

Thank you =)

That does fixes the problem of having section title and pdf on the same page. However if I did that I can only import the first page of my pdf =(
darkwhite87
Posts: 3
Joined: Tue Oct 06, 2009 4:17 am

Re: Using \includepdf in the same page as the section heading

Post by darkwhite87 »

OK. i figured a cheat around it.
Use includegraphics for the first page of the pdf
and use includepdf for the 2nd page onwards

Happy latexing
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Using \includepdf in the same page as the section heading

Post by localghost »

Do the rest with pdfpages.

Code: Select all

\includepdf[pages=2-]{filename}
Post Reply