答案1
我非常同情您:大学的要求有时候真是太愚蠢了!
如果你的章节和小节总是有编号,你可以这样做
\documentclass{article}
\usepackage{indentfirst}
\makeatletter
\renewcommand\@seccntformat[1]{\hspace*{\parindent}\csname the#1\endcsname\quad}
\makeatother
\begin{document}
Some text to show the indentation in the first line
Some text to show the indentation in the first line
Some text to show the indentation in the first line
\section{Test}
\subsection{Test}
Some text to show the indentation in the first line
Some text to show the indentation in the first line
Some text to show the indentation in the first line
\end{document}
答案2
请尝试以下代码:
\newcommand\section{\@startsection {section}{1}{12\p@}%
{-12\p@}%
{6\p@}
{\normalsize\raggedright}}