在 LaTex 中订购子图

Ordering subfigures in LaTex

我在 LaTex 中有这段代码:

\begin{figure}[h!]
    \centering
    \subfigure[]{\includegraphics[width=50mm]{katua.jpg}}
    \subfigure[]{\includegraphics[width=60mm]{txakurren_balioak.png}}
    \subfigure[]{\includegraphics[width=60mm]{katuen_balioak.png}}}
\label{fig:eb3}
\end{figure}

我明白了:

而且我想将图像分为两列。在左边的列中是猫的图像,在右边的列中是两个直方图。这怎么可能?

您可以使用 \hfill 而不是 \centering 来进行居中,请参见下面的示例:

\documentclass{report}
\usepackage{graphicx}
\usepackage{subfigure}

\begin{document}
 \begin{figure}[h!]
     \hfill
     \subfigure[]{\includegraphics[width=50mm]{example-image-a}} 
     \hfill 
     \subfigure[]{\includegraphics[width=60mm]{example-image-b}}
     \hfill

     \hfill 
     \subfigure[]{\includegraphics[width=60mm]{example-image-c}}
 \end{figure}
\end{document}