使用 \paragraph{} 时,第一行默认不缩进。如何更改设置,让其默认缩进?
更新:下面是我想做的一个例子。我有
\documentclass{article}
\usepackage[utf8]{inputenc}
\begin{document}
Indented paragraph.
\paragraph{Paragraph Title is not indented} Blah blah...
\end{document}
我想缩进标题本节段落,与标准段落相同。
答案1
这非常简单titlesec
:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{titlesec}
\titlespacing{\paragraph}{\parindent}{*1.5}{0.75em}
\begin{document}
Blah blah... Some text. Some other text. Some more text. Some more text. Some other text. Some more text. Some more text.
Indented paragraph.
\paragraph{Paragraph Title is indented.} Blah blah... Some text. Some other text. Some more text. Some more text. Some other text. Some more text. Some more text.
\end{document}