1

Exactly this question : How to shift graphics/adjust placement of figure with \includegraphics

but only half the answer is given, since using \hspace* works as intended, i.e. I can move my includegraphics wherever I want left or right. The problem is, using \vspace* in the same manner results in shifting the whole frame up and down, and not only my includegraphics.

So my question is : how to move includegraphics figures?

  • 2
    Please provide a minimum working example to show your problem. – Jeffrey J Weimer Jun 13 at 12:59
  • There is always \raisebox. It can adjust the baseline, height and depth independently. For horizontal positioning, \rlap and \llap can prove useful. – John Kormylo Jun 13 at 15:17
1

A possibility is to use the tikz package:

\documentclass[a4]{article}
\usepackage{tikz}
\usepackage{graphicx}
\begin{document}
\begin{figure}
\begin{tikzpicture}[remember picture,overlay]
    \node [xshift=0cm,yshift=0cm] at (current page.center){\includegraphics[width=5cm]{example-image-a}};
\end{tikzpicture}
\end{figure}
\end{document}

You can change the position with [xshift=0cm,yshift=0cm]

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.