1

I want to put two figures into a multicolumn document that span both columns. I want to move the two figures closer together vertically so that they slightly overlap. The two figures fit together like a puzzle, so trimming them is not an option. How can I make the two figures overlap?

Here is my attempt:

\begin{figure*}
  \centering
  \begin{tabular}{c}
    \includegraphics[scale=0.8]{figure1.pdf} \\ \vspace*{-1cm}
    \includegraphics[scale=0.8]{figure2.pdf} \\    
  \end{tabular}
  \caption{caption goes here}
\end{figure*}

The \vspace*command does not do anything inside of the tabular environment, but hopefully it gets the idea across -- a vertical shift in the figures to make them overlap. Any help would be appreciated.

2
  • inside the tabular environment, you should be able to end a line with \\[-1cm] to do what you want. that is the equivalent of a negative \vspace outside of tabular. – barbara beeton Sep 21 '16 at 19:34
  • Excellent! I was hoping it was as simple as that, I just couldn't find the command. Thank you! – ahle6481 Sep 21 '16 at 19:41
1

the tabular is doing nothing useful there, simply

\begin{figure*}
  \centering

    \includegraphics[scale=0.8]{figure1.pdf} 

    \vspace*{-1cm}

    \includegraphics[scale=0.8]{figure2.pdf}   

  \caption{caption goes here}
\end{figure*}

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.