[Tex/LaTex] How to include image in background

graphics

When inserting a figure into a TeX document is there an easy way to make it appear behind the text?

Best Answer

You can put an image into zero width and zero height/depth box, so TeX will just runs over it. Also, you probably want to lower the figure since normally the reference point is at the bottom.

This works:

\documentclass{article}
\usepackage{graphicx,lipsum}
\pagestyle{empty}
\begin{document}
\noindent
\makebox[0pt][l]{%
  \raisebox{-\totalheight}[0pt][0pt]{%
    \includegraphics[width=4in]{book}}}%
\lipsum[1-2]


\end{document}

enter image description here