这是我的简化代码:
\renewcommand{\thesubfigure}{\alph{subfigure}}
\captionsetup[subfigure]{labelformat=parens, labelsep=none}
\begin{figure}
\begin{minipage}[c][4.5cm][c]{1\textwidth}
\centering
\includegraphics[width=0.8\linewidth]{Figure1}
\captionof{subfigure}{}
\end{minipage}
\begin{minipage}[c][10.8cm][t]{.45\textwidth}
\vspace*{\fill}
\centering
\includegraphics[width=1\textwidth]{Figure2}
\captionof{subfigure}{}
\par\vfill
\includegraphics[width=0.9\textwidth]{Figure3}
\captionof{subfigure}{}
\end{minipage}
\begin{minipage}[c][10.8cm][t]{.55\textwidth}
\vspace*{\fill}
\centering
\includegraphics[width=0.94\textwidth, height=9.5cm]{Figure4}
\captionof{subfigure}{}
\end{minipage}%
\caption{(a) (b) (c) (d)}
\label{figure:1}
\end{figure}
出于某种原因,我的子图的标题变成了 (A)、(B)、(C),而不是 (a)、(b)、(c)。我遗漏了什么吗?
答案1
这应该有效:
\documentclass{article}
\usepackage{graphicx}
\usepackage[skip=0.25ex, belowskip=1ex]{caption}
\usepackage{subcaption}
\begin{document}
\begin{figure}
\centering
\begin{subfigure}{.9\textwidth}
\centering
\includegraphics[width=9.5cm]{example-image}
\caption{}
\end{subfigure}%
\smallskip
\setkeys{Gin}{width=\linewidth}
\begin{subfigure}[b]{0.48\textwidth}
\centering
\includegraphics[width=\linewidth]{example-image-duck}
\caption{}
\includegraphics[width=\linewidth]{example-image-duck}
\caption{}
\end{subfigure}\hfill%
\begin{subfigure}[b]{.48\textwidth}
\includegraphics[height=1.37\linewidth]{example-image-duck}
\caption{}
\end{subfigure}%
\caption{(a) (b) (c) (d)}
\label{figure:1}
\end{figure}
\end{document}
如您所见,使用的只是默认设置,用于subfigure
替换minipage
代码片段中使用的环境。