我想以這樣的方式插入數字(9行,2列大小的框),在左側列中,沒有。圖的數量應該是9,它的標題從a,b,c到i開始,在右側欄中的同一頁上,我可以插入9個圖,它們的標題應該從a到i重複。如果有人知道路的話。請幫忙。我正在使用這段程式碼。
\begin{document}
\begin{figure*}[h!]
\begin{minipage}{0.5\linewidth}
\begin{subfigure}{\linewidth}
\includegraphics[width=\textwidth]{1}
\includegraphics[width=\textwidth]{2}
\includegraphics[width=\textwidth]{3}
\includegraphics[width=\textwidth]{4}
\includegraphics[width=\textwidth]{5}
\includegraphics[width=\textwidth]{6}
\includegraphics[width=\textwidth]{7}
\includegraphics[width=\textwidth]{8}
\includegraphics[width=\textwidth]{9}
\end{subfigure}
\end{minipage}
\begin{minipage}{0.5\linewidth}
\begin{subfigure}{\linewidth}
\includegraphics[width=\textwidth]{1}
\includegraphics[width=\textwidth]{2}
\includegraphics[width=\textwidth]{3}
\includegraphics[width=\textwidth]{4}
\includegraphics[width=\textwidth]{5}
\includegraphics[width=\textwidth]{6}
\includegraphics[width=\textwidth]{7}
\includegraphics[width=\textwidth]{8}
\includegraphics[width=\textwidth]{9}
\end{subfigure}
\end{minipage}
\caption{Steady base flow, $Re=100,\; Ar=1.0$}
\label{Fig:Steady_flow_Re100}
\end{figure*}
\end{document}
如果您想要為每個圖表新增標題,請使用類似的標題方式。它會起作用的。
答案1
據我所知,這就是你所追求的。需要注意的一些事項:
- 每個圖像後面都有一個
\caption{}
,這就是產生數字的原因。 - 在這裡,我使用了包
demo
的選項graphicx
,但您必須在程式碼中刪除它。它將圖像替換為黑色矩形。 - 我還
height
明確設定了 for 圖像,但您可能不想在文檔中執行此操作,因此height=1cm
從所有\includegraphics
.
\documentclass{article}
\usepackage[demo]{graphicx} %remove demo in your document
\usepackage{subcaption}
\begin{document}
\begin{figure*}[h!]
\begin{minipage}[t]{0.48\textwidth}
\begin{subfigure}{\linewidth}
\includegraphics[width=\textwidth,height=1cm]{1} %remove height=1cm in your document
\caption{}
\includegraphics[width=\textwidth,height=1cm]{2}
\caption{}
\includegraphics[width=\textwidth,height=1cm]{3}
\caption{}
\includegraphics[width=\textwidth,height=1cm]{4}
\caption{}
\includegraphics[width=\textwidth,height=1cm]{5}
\caption{}
\includegraphics[width=\textwidth,height=1cm]{6}
\caption{}
\includegraphics[width=\textwidth,height=1cm]{7}
\caption{}
\includegraphics[width=\textwidth,height=1cm]{8}
\caption{}
\includegraphics[width=\textwidth,height=1cm]{9}
\caption{}
\end{subfigure}
\caption{Steady base flow, $Re=100,\; Ar=1.0$}
\label{Fig:Steady_flow_Re100}
\end{minipage}
\begin{minipage}[t]{0.48\textwidth}
\begin{subfigure}{\linewidth}
\includegraphics[width=\textwidth,height=1cm]{1} %remove height=1cm in your document
\caption{}
\includegraphics[width=\textwidth,height=1cm]{2}
\caption{}
\includegraphics[width=\textwidth,height=1cm]{3}
\caption{}
\includegraphics[width=\textwidth,height=1cm]{4}
\caption{}
\includegraphics[width=\textwidth,height=1cm]{5}
\caption{}
\includegraphics[width=\textwidth,height=1cm]{6}
\caption{}
\includegraphics[width=\textwidth,height=1cm]{7}
\caption{}
\includegraphics[width=\textwidth,height=1cm]{8}
\caption{}
\includegraphics[width=\textwidth,height=1cm]{9}
\caption{}
\end{subfigure}
\caption{Something else}
\label{Fig:something}
\end{minipage}
\end{figure*}
\end{document}