4

I believe most of us are familiar with the Microsoft Word settings for a picture in a text document. In particular, there is one option called "in front of text" that just lets you put the picture wherever you want, ignoring everything else in the document.

Is there something like this in LaTeX? I was thinking of an instruction that could include the "coordinates" of the picture in the document.

5
11
  • For details see Absolute positioning in beamer.
  • I use tikz with remember picture and overlay.
  • remember picture is for absolute positioning.
  • overlay makes that the picture has the size of zero and therefore doesn't influence the position of other objects (as far as I understand).

\documentclass{article}

\usepackage{tikz}

% Demo
\usepackage{blindtext}
\usepackage{showframe}

\begin{document}

\blindtext

\begin{tikzpicture}[remember picture,overlay]
    \node[xshift=65mm,yshift=-48mm,anchor=north west] at (current page.north west){%
    \includegraphics[width=50mm]{example-image-a}};
\end{tikzpicture}

\end{document}

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.