为一组图像添加字母图例

为一组图像添加字母图例

llncsLaTeX 文档中,我有五幅按此顺序排列的图像

    |     | |     |
  x |     | |     |
|     | |     | |     |
|     | |     | |     |

我基本上想要放置一个 .png 图像来代表图像中的字母图例x,即:

 |a|b|
|c|d|e|

我目前编写的代码是:

\begin{figure}[t]
\begin{minipage}[]{\textwidth}
  \centering
  \includegraphics[width=0.30\textwidth]{fig_a}
  \includegraphics[width=0.30\textwidth]{fig_b}
\end{minipage}

\vspace{0.1cm}

\begin{minipage}[]{\textwidth}
  \centering
  \includegraphics[width=0.30\textwidth]{fig_c}
  \includegraphics[width=0.30\textwidth]{fig_d}
  \includegraphics[width=0.30\textwidth]{fig_e}    
\end{minipage}
\caption{(a) Lorem ipsum (b) dolor sit amet (c) consectetur adipiscing elit (d) Mauris ut sollicitudin (e) neque}
\label{fig:my_fig}
\end{figure}

我该如何放置字母图例?

答案1

在此处输入图片描述

\documentclass{article}
\usepackage{graphicx}
\begin{document}
\begin{figure}[t]

\begin{minipage}{\textwidth}
  \centering
  \raisebox{13mm}{\makebox[0.30\textwidth][c]{%
    \begin{tabular}{ccc}
       &(a)&(b)\\[1.5ex]
    (c)&(d)&(e)
    \end{tabular}%
    }}
  \includegraphics[width=0.30\textwidth]{example-image}
  \includegraphics[width=0.30\textwidth]{example-image}
\end{minipage}

\vspace{0.1cm}

\begin{minipage}[]{\textwidth}
  \centering
  \includegraphics[width=0.30\textwidth]{example-image}
  \includegraphics[width=0.30\textwidth]{example-image}
  \includegraphics[width=0.30\textwidth]{example-image}    
\end{minipage}
\caption{(a) Lorem ipsum (b) dolor sit amet (c) consectetur adipiscing
  elit (d) Mauris ut sollicitudin (e) neque}
\label{fig:my_fig}
\end{figure}
\end{document}

在此处输入图片描述

\documentclass{article}
\usepackage{graphicx}
\begin{document}
\begin{figure}[t]

\begin{minipage}{\textwidth}
  \centering
  \raisebox{13mm}{\makebox[0mm][r]{%
    \tabcolsep0mm%
    \begin{tabular}{ccccc}
       &(a)&   &(b)&   \\[1.5ex]
    (c)&   &(d)&   &(e)
    \end{tabular}%
    \quad
    }}%
  \includegraphics[width=0.30\textwidth]{example-image}
  \includegraphics[width=0.30\textwidth]{example-image}
\end{minipage}

\vspace{0.1cm}

\begin{minipage}[]{\textwidth}
  \centering
  \includegraphics[width=0.30\textwidth]{example-image}
  \includegraphics[width=0.30\textwidth]{example-image}
  \includegraphics[width=0.30\textwidth]{example-image}    
\end{minipage}
\caption{(a) Lorem ipsum (b) dolor sit amet (c) consectetur adipiscing
  elit (d) Mauris ut sollicitudin (e) neque}
\label{fig:my_fig}
\end{figure}
\end{document}

相关内容