Page LayoutAdding text and page numbers to scanned PDF appendices

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
lexattor
Posts: 2
Joined: Sat Oct 30, 2010 8:30 am

Adding text and page numbers to scanned PDF appendices

Post by lexattor »

I am creating a document to which scanned PDF documents are appended as supporting material. To incorporate the external PDF's I use the pdfpages package. I need to add an appendix number i.e. something like "Appendix XL" size at least 18pt, to the top right hand corner of the first page of each appendix and page numbers to all pages of the appendices as part of the entire document.

Does anyone here know if, and if yes, how it can be done?

I'm stumped, any help will be appreciated.

Recommended reading 2024:

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

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

User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Adding text and page numbers to scanned PDF appendices

Post by frabjous »

Try using the picturecommand* attribute for \includepdf along with a \put command. Change the coordinates that go with put to move it around to wherever it needs to be. Maybe this will give you the basic idea:

Code: Select all

\documentclass{article}
\usepackage{pdfpages}
\begin{document}
\includepdf[pages=-,picturecommand*={\put(400,680){\Huge Some text}}]{included.pdf}
\end{document}
Post Reply