将 9 个数字相加(带有一个标题) 3 个在同一行,依此类推

将 9 个数字相加(带有一个标题) 3 个在同一行,依此类推

我有一个紧急的问题,我是 Latex 的新手,明天之前我必须提交我的论文,我一直试图将 9 个数字加在一起,但是,只有 2 个出现,而且它们至少不在文件的边界上,所以我甚至想让它们彼此叠合,我已经阅读了一些相关的答案......但没有任何效果

\begin{figure}[H]
    \centering
\begin{subfigure}[b]{0.8\textwidth}
  \centering
\includegraphics[width=1\linewidth]{pics/"figure14_1"}
\caption{3-point bending}
\label{fig:figure14_1}
\end{subfigure}%
\begin{subfigure}[b]{0.5\textwidth}
  \centering    
  \includegraphics[width=0.5\linewidth]{pics/"figure14_2"}
\caption{Elastic stress distribution}
\label{fig:figure14_2}
\end{subfigure}%
\begin{subfigure}[b]{0.5\textwidth}
  \centering
\includegraphics[width=0.5\linewidth]{pics/"figure14_3"}
\caption{Plastic stress distribution}
\label{fig:figure14_3}
\end{subfigure}%
\begin{subfigure}[b]{0.3\textwidth}
  \centering
\includegraphics[width=0.3\textwidth]{pics/"figure14_4"}
\caption{Elastic shear stress distribution}
\label{fig:figure14_4}
\end{subfigure}%
\begin{subfigure}[b]{0.5\textwidth}
  \centering
\includegraphics[width=0.5\textwidth]{pics/"figure14_5"}
\caption{Plastic shear stress distribution}
\label{fig:figure14_5}
\end{subfigure}%
\begin{subfigure}[b]{0.3\textwidth}
  \centering
\includegraphics[width=0.3\textwidth]{pics/"figure14_6"}
\caption{Shaft under torsion}
\label{fig:figure14_6}
\end{subfigure}%
\begin{subfigure}[b]{0.3\textwidth}
  \centering
\includegraphics[width=0.3\textwidth]{pics/"figure14_7"}
\caption{Elastic shear stress distribution}
\label{fig:figure14_7}
\end{subfigure}%
\begin{subfigure}[b]{0.3\textwidth}
  \centering
\includegraphics[width=0.3\textwidth]{pics/"figure14_8"}
\caption{Plastic shear stress distribution}
\label{fig:figure14_8}
\end{subfigure}%
\begin{subfigure}[b]{0.3\textwidth}
  \centering
\includegraphics[width=0.3\textwidth]{pics/"figure14_9"}
\caption{Linearly distributed load}
\label{fig:figure14_9}
\end{subfigure}%
    \caption{3-point bending, elastic and plastic stress distribution, shaft under torsion load and linearly distributed load.}
\label{figure14_99}
\end{figure}

答案1

您可能喜欢以下图像排列:

在此处输入图片描述

我只清理了你的代码,删除了所有\centering指令(它们不是需要的),更正了环境的宽度subfigure,并在每行图像之间插入了空行:

\documentclass[a4paper]{article}
\usepackage[demo]{graphicx}
\usepackage{subcaption}

\begin{document}
\begin{figure}[htbp]
\begin{subfigure}[t]{0.3\textwidth}
    \includegraphics[width=\linewidth]{pics/"figure14_1"}
\caption{3-point bending}
\label{fig:figure14_1}
\end{subfigure}\hfill
\begin{subfigure}[t]{0.3\textwidth}
  \includegraphics[width=\linewidth]{pics/"figure14_2"}
\caption{Elastic stress distribution}
\label{fig:figure14_2}
\end{subfigure}\hfill
\begin{subfigure}[t]{0.3\textwidth}
    \includegraphics[width=\linewidth]{pics/"figure14_3"}
\caption{Plastic stress distribution}
\label{fig:figure14_3}
\end{subfigure}

\begin{subfigure}[t]{0.3\textwidth}
    \includegraphics[width=\linewidth]{pics/"figure14_4"}
\caption{Elastic shear stress distribution}
\label{fig:figure14_4}
\end{subfigure}\hfill
\begin{subfigure}[t]{0.3\textwidth}
    \includegraphics[width=\linewidth]{pics/"figure14_5"}
\caption{Plastic shear stress distribution}
\label{fig:figure14_5}
\end{subfigure}\hfill
\begin{subfigure}[t]{0.3\textwidth}
    \includegraphics[width=\textwidth]{pics/"figure14_6"}
\caption{Shaft under torsion}
\label{fig:figure14_6}
\end{subfigure}

\begin{subfigure}[t]{0.3\textwidth}
    \includegraphics[width=\linewidth]{pics/"figure14_7"}
\caption{Elastic shear stress distribution}
\label{fig:figure14_7}
\end{subfigure}\hfill
\begin{subfigure}[t]{0.3\textwidth}
    \includegraphics[width=\linewidth]{pics/"figure14_8"}
\caption{Plastic shear stress distribution}
\label{fig:figure14_8}
\end{subfigure}\hfill
\begin{subfigure}[t]{0.3\textwidth}
    \includegraphics[width=\linewidth]{pics/"figure14_9"}
\caption{Linearly distributed load}
\label{fig:figure14_9}
\end{subfigure}

\caption{3-point bending, elastic and plastic stress distribution, 
    shaft under torsion load and linearly distributed load.}
\label{figure14_99}
\end{figure}
\end{document}

相关内容