Page LayoutPage numbering and PDFpages

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
niles
Posts: 92
Joined: Mon Dec 01, 2008 9:35 pm

Page numbering and PDFpages

Post by niles »

Hi

I have two issues with PDFpages.

Please take a look at the following MWE:

Code: Select all

\documentclass[10pt, a4paper]{article}
\usepackage[T1]{fontenc}  
\usepackage[ansinew]{inputenc}
\usepackage[]{pdfpages}
\begin{document}
Test-sentence.

\includepdf[]{Untitled-2.pdf}
\includepdf[]{Untitled-2.pdf}

\end{document}
I have attached the file "Untitled-2.pdf".

1) My first issue is that I would very much like for "Test-sentence" and the page "Untitled-2.pdf" to be on page 1. Then the second "Untitled-2.pdf" should come on page 2, but in the MWE each "Untitled-2.pdf" gets its own page.

2) Is there a way to "force" the pagenumber (written by LaTeX) onto page #2 containing "Untitled-2.pdf"?

I hope you understand. If not, please let me know and I will elaborate.

Best,
Niles.
Attachments
Untitled-2.pdf
(3.33 KiB) Downloaded 308 times

Recommended reading 2024:

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

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

niles
Posts: 92
Joined: Mon Dec 01, 2008 9:35 pm

Page numbering and PDFpages

Post by niles »

Ok, I solved it. Just read the manual: Use

Code: Select all

\includepdf[pagecommand={}]
Post Reply