多列图形的垂直对齐

多列图形的垂直对齐

我得到了这个代码:

\begin{figure}[H]
\centering
\fbox{\begin{minipage}{15 cm}
\begin{multicols}{2}
   \includegraphics[width=.65\columnwidth]{./images/Cap3/acel_3d.PNG} 
   \includegraphics[scale=0.44]{./images/Cap4/TTN_ejemplo_caidaFrontal.png} 
\end{multicols}
    \centering
    \includegraphics[scale=0.51]{./images/Cap4/putty.png}\par 

\end{minipage}}
\caption{caption..}
\label{f:3-2}
\end{figure}

LATEX 显示如下:

在此处输入图片描述

但是,我确实想垂直对齐第一张图片以使其看起来像这样:

在此处输入图片描述

答案1

尝试将所有图像封装在minipages 中:

\documentclass{article}
\usepackage[demo]{graphicx} % in real document remove option "demo"
\usepackage{multicol}

\begin{document}
    \begin{figure}[ht]
    \setkeys{Gin}{width=\linewidth}
\fbox{\begin{minipage}{15 cm}%
    \begin{minipage}{0.44\linewidth}
       \includegraphics{./images/Cap3/acel_3d.PNG}
    \end{minipage}%
        \hfill
    \begin{minipage}{0.54\linewidth}
       \includegraphics[height=3cm]{./images/Cap4/TTN_ejemplo_caidaFrontal.png} % in real document remove "[height=3cm]"
    \end{minipage}

\smallskip
    \begin{minipage}{\linewidth}
        \includegraphics{./images/Cap4/putty.png}\par
    \end{minipage}
\end{minipage}%
    }
\caption{caption ...}
\label{f:3-2}
    \end{figure}
\end{document}

在此处输入图片描述

相关内容