I am generating one report where I need to use background image. But I found that image always starts leaving some margin space to left side.
\documentclass{article}
\usepackage{wallpaper}
\usepackage{mdframed}
\usepackage[top=2cm, bottom=2cm, outer=0cm, inner=0cm]{geometry}
\begin{document}
Some content
\ThisLRCornerWallPaper{1.0}{image.jpg}
\end{document}
How can I use background image covering whole page?
Best Answer
You can do this in number of ways. I will show three more methods.
With
tikz
:With
eso-pic
:\AddToShipoutPictureBG
(instead of\AddToShipoutPictureBG*
) puts the background in all pages.With
background
package: