I want to use a pdf page as background for a title page. The pdfpages package does a good job inserting the page, but I can't write my content on it.
Asked
Active
Viewed 1.2k times
10
2 Answers
9
You will need the package eso-pic (eso-pic package)
\usepackage{eso-pic}
Before \begin{document}, define:
\newcommand\BackgroundPic{
\put(0,0){
\parbox[b][\paperheight]{\paperwidth}{%
\vfill
\centering
\includegraphics[width=\paperwidth,height=\paperheight]{BackGroundPDF.pdf}
\vfill
}}}
After \begin{document}:
\AddToShipoutPicture*{\BackgroundPic}
\maketitle
the * states that the background picture is only used on that page.
gillesC
- 123
Julia Roquette
- 441
5
I recently encountered this problem and I found the solution from https://latex.org/forum/viewtopic.php?t=26829 works better for me. Since this question here pops out on the top when I search for it. It may be beneficial to also have the code here.
It uses the package background.
\documentclass[10pt]{letter}
\usepackage{background}
\backgroundsetup{scale = 1, angle = 0, opacity = 0.2,
contents = {\includegraphics[width = \paperwidth,
height = \paperheight, keepaspectratio]
{Background.pdf}}}
\begin{document}
Main text.
\end{document}
Haochen Wu
- 151
\documentclass{...}and ending with\end{document}. – Henri Menke Nov 17 '15 at 08:01backgroundmight help – Nov 17 '15 at 08:15