General ⇒ Import a PDF as Appendix
Import a PDF as Appendix
I would like to import a PDF as an appendix to my report. I found a way to import PDF files but how do I add the title of the appendix to it ?
NEW: TikZ book now 40% off at Amazon.com for a short time.
- Stefan Kottwitz
- Site Admin
- Posts: 10320
- Joined: Mon Mar 10, 2008 9:44 pm
Import a PDF as Appendix
Hi,
it depends on the way you found and used, you didn't mention that yet. If you use the the command \includepdf of the pdfpages packages, you can use the pagecommand option for such a purpose. It's described in the package documentation.
Stefan
it depends on the way you found and used, you didn't mention that yet. If you use the the command \includepdf of the pdfpages packages, you can use the pagecommand option for such a purpose. It's described in the package documentation.
Stefan
LaTeX.org admin
Re: Import a PDF as Appendix
ye that's the one I found, sorry for that.
I'll take a look at the command u mentioned, thanks
(*drowns in command options*)
"pagecommand Declares LATEX commands, which are executed on each sheet
of paper. (Default: pagecommand={\thispagestyle{empty}}"
So adding pagecommand={\chapter{title}} adds the chapter title to the first page of the pdf ?
I'll take a look at the command u mentioned, thanks
(*drowns in command options*)
"pagecommand Declares LATEX commands, which are executed on each sheet
of paper. (Default: pagecommand={\thispagestyle{empty}}"
So adding pagecommand={\chapter{title}} adds the chapter title to the first page of the pdf ?
- Stefan Kottwitz
- Site Admin
- Posts: 10320
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Import a PDF as Appendix
Be bold, and try.
You could use \includepdf with pagecommand for the first page, and use another \includepdf call for the remaining pages, without pagecommand option.
Stefan

You could use \includepdf with pagecommand for the first page, and use another \includepdf call for the remaining pages, without pagecommand option.
Stefan
LaTeX.org admin