![为一组图像添加字母图例](https://linux22.com/image/352651/%E4%B8%BA%E4%B8%80%E7%BB%84%E5%9B%BE%E5%83%8F%E6%B7%BB%E5%8A%A0%E5%AD%97%E6%AF%8D%E5%9B%BE%E4%BE%8B.png)
在llncs
LaTeX 文档中,我有五幅按此顺序排列的图像
| | | |
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}