1

I'm using a page-sized background image for my document to get a nice looking company page. However, it does not perfectly align to the left, but is slightly shifted, resulting in an ugly white edge on the left side (see attached image). What am I missing?

\documentclass[11pt, oneside, a4paper]{report}
\usepackage[top=20mm, bottom=25mm, left=20mm, right=20mm]{geometry}
\usepackage{graphicx}
\usepackage{eso-pic}
\newcommand\BackgroundPic{
    \put(0, 0){
        \parbox[b][\paperheight]{\paperwidth}{
            \vfill
            \centering
            \includegraphics[width=\paperwidth, height=\paperheight]{background_pic}
            \vfill
        }
    }
}
\begin{document}
\AddToShipoutPicture*{\BackgroundPic}
Here is some text
\end{document}

Grey is my editor background, blue is my actual background_pic, and the white line at the document is what is annoying me.

enter image description here

s6hebern
  • 297

0 Answers0