
我希望直接在節名稱下的所有文本/段落中留出 1em 的空間,因為即使使用 \parindent 後也沒有任何變化。感謝您的協助。
\documentclass{article}
%paragraph indentation
\setlength{\parindent}{1em}
%paragraph spacing
\setlength{\parskip}{1em}
\begin{document}
\section{Test}
This is another paragraph, contains some text to test the paragraph interlining, paragraph indentation and some other features. Also, is easy to see how new paragraphs are defined by simply entering a double blank space.
This is another paragraph, contains some text to test the paragraph interlining, paragraph indentation and some other features. Also, is easy to see how new paragraphs are defined by simply entering a double blank space.
\end{document}
輸出:
答案1
如果我正確理解你的目標,我相信它可以透過加載來實現首先縮排包裹。
\documentclass{article}
\usepackage{indentfirst} % <-- new
\setlength{\parindent}{1em}
\setlength{\parskip}{1em}
\begin{document}
\section{Test}
This is another paragraph, contains some text to test the paragraph interlining, paragraph indentation and some other features. Also, is easy to see how new paragraphs are defined by simply entering a double blank space.
This is another paragraph, contains some text to test the paragraph interlining, paragraph indentation and some other features. Also, is easy to see how new paragraphs are defined by simply entering a double blank space.
\end{document}