答案1
尝试一下这个,它适用于英语和article
课堂。
% subsectitleprob.tex SE 623138
\documentclass{article}
\makeatletter
%% block paragraph for divisional titles (instead of hanging)
\renewcommand{\@hangfrom}[1]{\noindent #1}
\makeatother
\begin{document}
\section{Not too long section title}
Some cectional text.
\subsection{This is a subsection title that takes more than a single line to print}
Some subsectional text.
\end{document}