Background image in LaTeX


/ Published in: LaTeX
Save to your folder(s)



Copy this code and paste it in your HTML
  1. # Add this code before \begin{document}
  2.  
  3. \usepackage{eso-pic}
  4. \newcommand\BackgroundPic{
  5. \put(0,0){
  6. \parbox[b][\paperheight]{\paperwidth}{%
  7. \includegraphics[width=\paperwidth,height=\paperheight,
  8. keepaspectratio]{background.png}%
  9. }}}
  10.  
  11. # and this immediately after \begin{document} :
  12.  
  13. \AddToShipoutPicture{\BackgroundPic}

URL: http://kuscsik.blogspot.com/2008/03/how-to-background-image-in-latex.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.