latex正文段落缩进
时间: 2024-04-15 07:22:19 浏览: 39
在LaTeX中,段落缩进是文本中的一个概念,用于使段落结构更加清晰。默认情况下,LaTeX会对每个段落进行缩进,通常是两个字符的缩进[^1]。
以下是一个示例,演示了如何在LaTeX中使用段落缩进:
```latex
\documentclass{article}
\usepackage{indentfirst} % 使用indentfirst宏包来实现段落缩进
\begin{document}
\title{This an example.}
\author{Wei HAO}
\date{December 12, 2019}
\maketitle
In this section we are going to discuss the distribution of probability. There are many distributions that are commonly used in real life, such as:
$$ F(x) = \int_{-\infty}^{\infty}f(x)dx = \int_{-\infty}^{\infty}\frac{1}{\sqrt{2\pi}\sigma}e^{-\frac{(x-\mu)^2}{2\sigma^2}}dx $$
This is the most common one ...
\end{document}
```
在上面的示例中,我们使用了`indentfirst`宏包来实现段落缩进。通过在文档类中添加`\usepackage{indentfirst}`,我们可以确保每个段落的第一行都会进行缩进。