4

How do I put two figures next to each other (in one row) while figure 1 overlap (partially) figure 2? I have seen some other questions however I want no space between figures and part of a figure overlap other figure.

4
  • 1
    We have a lot of questions exactly preventing such an overlapping, perhaps you should look at them to get what they have done wrong ;-)
    – user31729
    Commented Jul 20, 2016 at 15:13
  • have a look at en.wikibooks.org/wiki/LaTeX/Boxes especially \parbox
    – Runar
    Commented Jul 20, 2016 at 15:18
  • @ChristianHupfer Murphy's law: When required Errors are difficult to reproduce!
    – d.putto
    Commented Jul 20, 2016 at 15:18
  • Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with \documentclass{...} and ending with \end{document}
    – Runar
    Commented Jul 20, 2016 at 15:58

1 Answer 1

6

It depends a lot on the type of overlapping you want. A simple way is negative space:

\documentclass{article}
\usepackage{graphicx}
\begin{document}
\hspace*{4cm}\includegraphics[width=5cm]{example-image-A}\hspace{-8cm}\includegraphics[width=5cm]{example-image-B}
\end{document}

enter image description here

In tikzpicture you can naturally do also overlaps.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .