我想知道是否可以在已经显示另一个图的页面中显示两列图。换句话说,我不想将两列图生成到新页面。
我尝试过:
\documentclass[twocolumn]{article}
\usepackage{stfloats}
\usepackage{subcaption}
\usepackage[demo]{graphicx}
\begin{document}
\begin{figure}[htpb]
\centering
\subcaptionbox{Fig A1}
{\includegraphics[width=0.48\columnwidth]{teste}} \hfill
\subcaptionbox{Fig A2}
{\includegraphics[width=0.48\columnwidth]{teste}} \hfill
\subcaptionbox{Fig A2}
{\includegraphics[width=0.48\columnwidth]{teste}} \hfill
\caption{Figure A}
\end{figure}
\begin{figure}[htpb]
\centering
\subcaptionbox{Fig B1}
{\includegraphics[width=0.48\columnwidth]{teste}} \hfill
\subcaptionbox{Fig B2}
{\includegraphics[width=0.48\columnwidth]{teste}} \hfill
\subcaptionbox{Fig B2}
{\includegraphics[width=0.48\columnwidth]{teste}} \hfill
\caption{Figure B}
\end{figure}
\begin{figure*}[!b]
\centering
\subcaptionbox{Fig C1}
{\includegraphics[width=0.3\columnwidth]{teste}} \hfill
\subcaptionbox{Fig C2}
{\includegraphics[width=0.3\columnwidth]{teste}} \hfill
\subcaptionbox{Fig C2}
{\includegraphics[width=0.3\columnwidth]{teste}} \hfill
\caption{Figure C}
\end{figure*}
\end{document}
其结果是:
我希望将它们放在同一页上,因为它们可以放在一起。
谢谢。
答案1
\documentclass[twocolumn]{article}
\usepackage{stfloats}
\usepackage{subcaption}
\usepackage[demo]{graphicx}
\begin{document}
\begin{figure*}[p]
\begin{minipage}{.45\textwidth}
\centering
\subcaptionbox{Fig A1}
{\includegraphics[width=0.48\columnwidth]{teste}} \hfill
\subcaptionbox{Fig A2}
{\includegraphics[width=0.48\columnwidth]{teste}} \hfill
\subcaptionbox{Fig A2}
{\includegraphics[width=0.48\columnwidth]{teste}} \hfill
\caption{Figure A}
\end{minipage}\hfill\begin{minipage}{.45\textwidth}
\centering
\subcaptionbox{Fig B1}
{\includegraphics[width=0.48\columnwidth]{teste}} \hfill
\subcaptionbox{Fig B2}
{\includegraphics[width=0.48\columnwidth]{teste}} \hfill
\subcaptionbox{Fig B2}
{\includegraphics[width=0.48\columnwidth]{teste}} \hfill
\caption{Figure B}
\end{minipage}
\bigskip
\subcaptionbox{Fig C1}
{\includegraphics[width=0.3\columnwidth]{teste}} \hfill
\subcaptionbox{Fig C2}
{\includegraphics[width=0.3\columnwidth]{teste}} \hfill
\subcaptionbox{Fig C2}
{\includegraphics[width=0.3\columnwidth]{teste}} \hfill
\caption{Figure C}
\end{figure*}
\end{document}