Search code examples
latex

Add logo in very bottom right corner


I have been trying to insert a (transparent) logo in the bottom right corner in the background of my title page without affecting the text in Overleaf. Unfortunately, I haven't found a similar use case and have tried many different options for quite some time, but it doesn't work the way I need it to. Can someone please help me in this regard?

I would like it to look like this. As you can see, there is a logo inserted in the lower right corner.

enter image description here


Solution

  • You can add an image to the page background via the shipout/background hook. To make positioning easier, I'm using tikz in the following example:

    \documentclass{article}
    
    \usepackage{lipsum}
    \usepackage{tikz}
    
    \AddToHookNext{shipout/background}{
      \begin{tikzpicture}[remember picture, overlay,inner sep=0pt,outer sep=0pt,opacity=0.5]
      \node[anchor=south east] at ([xshift=3cm,yshift=-3cm]current page.south east) {
        \includegraphics[width=16cm]{example-image-duck}
      };
      \end{tikzpicture}
    }
    
    \begin{document}
    
    \lipsum
    
    \end{document}