表格中的图片编号

表格中的图片编号

在此处输入图片描述

我使用以下代码生成了如图所示的结果,但是编号文本(a)出现在图像的中间,而不是像其他编号一样出现在底部。请提供一种纠正方法。

\begin{figure}[hbt!]
\center 
    \begin{tabular}{c c c c c}

\multirow{2}{*}{\includegraphics[width=0.10\textwidth]{4.png}} &  \includegraphics[width=0.10\textwidth]{4.png} & \includegraphics[width=0.10\textwidth]{4.png} & 
\includegraphics[width=0.10\textwidth]{4.png} &
\includegraphics[width=0.10\textwidth]{4.png} \\ 
\textbf{(a)} & \textbf{(b)} & \textbf{(c)} & \textbf{(d)} & \textbf{(e)}\tabularnewline
&
\includegraphics[width=0.10\textwidth]{4.png} & 
\includegraphics[width=0.10\textwidth]{4.png} & 
\includegraphics[width=0.10\textwidth]{4.png} &
\includegraphics[width=0.10\textwidth]{4.png}\\
 & \textbf{(f)} & \textbf{(g)} & \textbf{(h)} & \textbf{(i)}\tabularnewline

\end{tabular}

答案1

minipages以下是之前建议的三种可能的布局选项:

在此处输入图片描述

在此处输入图片描述

\documentclass{article}

\usepackage[demo]{graphicx}
\usepackage{multirow}

\begin{document}

\begin{figure}
  \begin{minipage}{0.18\textwidth}
    \centering
    \includegraphics[width=\linewidth]{4.png}

    \textbf{(a)}
  \end{minipage}\hfill
  \begin{minipage}{0.18\textwidth}
    \centering
    \includegraphics[width=\linewidth]{4.png}

    \textbf{(b)}

    \includegraphics[width=\linewidth]{4.png}

    \textbf{(f)}
  \end{minipage}\hfill
  \begin{minipage}{0.18\textwidth}
    \centering
    \includegraphics[width=\linewidth]{4.png}

    \textbf{(c)}

    \includegraphics[width=\linewidth]{4.png}

    \textbf{(g)}
  \end{minipage}\hfill
  \begin{minipage}{0.18\textwidth}
    \centering
    \includegraphics[width=\linewidth]{4.png}

    \textbf{(d)}

    \includegraphics[width=\linewidth]{4.png}

    \textbf{(h)}
  \end{minipage}\hfill
  \begin{minipage}{0.18\textwidth}
    \centering
    \includegraphics[width=\linewidth]{4.png}

    \textbf{(e)}

    \includegraphics[width=\linewidth]{4.png}

    \textbf{(i)}
  \end{minipage}
\end{figure}

\begin{figure}
  \begin{minipage}{0.18\textwidth}
    \centering
    \includegraphics[width=\linewidth]{4.png}

    \textbf{(a)}
  \end{minipage}\hfill
  \begin{minipage}{0.18\textwidth}
    \centering
    \includegraphics[width=\linewidth]{4.png}

    \textbf{(b)}
  \end{minipage}\hfill
  \begin{minipage}{0.18\textwidth}
    \centering
    \includegraphics[width=\linewidth]{4.png}

    \textbf{(c)}
  \end{minipage}\hfill
  \begin{minipage}{0.18\textwidth}
    \centering
    \includegraphics[width=\linewidth]{4.png}

    \textbf{(d)}
  \end{minipage}\hfill
  \begin{minipage}{0.18\textwidth}
    \centering
    \includegraphics[width=\linewidth]{4.png}

    \textbf{(e)}
  \end{minipage}
  \begin{minipage}{0.18\textwidth}
    \centering
    \includegraphics[width=\linewidth]{4.png}

    \textbf{(f)}
  \end{minipage}\hfill
  \begin{minipage}{0.18\textwidth}
    \centering
    \includegraphics[width=\linewidth]{4.png}

    \textbf{(g)}
  \end{minipage}\hfill
  \begin{minipage}{0.18\textwidth}
    \centering
    \includegraphics[width=\linewidth]{4.png}

    \textbf{(h)}
  \end{minipage}\hfill
  \begin{minipage}{0.18\textwidth}
    \centering
    \includegraphics[width=\linewidth]{4.png}

    \textbf{(i)}
  \end{minipage}
\end{figure}

\begin{figure}
\centering
  \begin{minipage}{0.18\textwidth}
    \centering
    \includegraphics[width=\linewidth]{4.png}

    \textbf{(a)}
  \end{minipage}\enspace
  \begin{minipage}{0.18\textwidth}
    \centering
    \includegraphics[width=\linewidth]{4.png}

    \textbf{(b)}
  \end{minipage}\enspace
  \begin{minipage}{0.18\textwidth}
    \centering
    \includegraphics[width=\linewidth]{4.png}

    \textbf{(c)}
  \end{minipage}\enspace
  \begin{minipage}{0.18\textwidth}
    \centering
    \includegraphics[width=\linewidth]{4.png}

    \textbf{(d)}
  \end{minipage}\enspace
  \begin{minipage}{0.18\textwidth}
    \centering
    \includegraphics[width=\linewidth]{4.png}

    \textbf{(e)}
  \end{minipage}

  \begin{minipage}{0.18\textwidth}
    \centering
    \includegraphics[width=\linewidth]{4.png}

    \textbf{(f)}
  \end{minipage}\enspace
  \begin{minipage}{0.18\textwidth}
    \centering
    \includegraphics[width=\linewidth]{4.png}

    \textbf{(g)}
  \end{minipage}\enspace
  \begin{minipage}{0.18\textwidth}
    \centering
    \includegraphics[width=\linewidth]{4.png}

    \textbf{(h)}
  \end{minipage}\enspace 
  \begin{minipage}{0.18\textwidth}
    \centering
    \includegraphics[width=\linewidth]{4.png}

    \textbf{(i)}
  \end{minipage}

\end{figure}
\end{document}

相关内容