> For the complete documentation index, see [llms.txt](https://overleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://overleaf-pro.ayaka.space/latex/zh-cn/wen-da/36-how-do-i-tab-indent-a-paragraph-in-latex.md).

# 我如何在 LaTeX 中给段落添加制表缩进？

LaTeX 会自动缩进不紧接在节标题之后的每个段落的首行。如果你想去掉缩进，可以使用 `\noindent` 命令设置为特定值：

```latex
\section{介绍}
这是第一段。

\noindent 这是第二段。
```

如果你想在节标题后缩进第一个段落，可以包含 [`indentfirst` 宏包](https://ctan.org/pkg/indentfirst?lang=en) 到你的导言区中：

```latex
\usepackage{indentfirst}
```

段落首行的缩进量由一个参数命令控制，这个命令叫做 `\parindent`。更多信息和示例请参阅 [Overleaf 上关于段落间距的文章](/latex/zh-cn/ge-shi-hua/04-articles-how-to-change-paragraph-spacing-in-latex.md#5cparindent-28tex-primitive29).

如果你想缩进整段内容，TeX StackExchange 论坛上的 [这篇帖子](http://tex.stackexchange.com/questions/35933/indenting-a-whole-paragraph) 和 [这篇 Overleaf 帮助文章](/latex/zh-cn/ge-shi-hua/04-articles-how-to-change-paragraph-spacing-in-latex.md#5cleftskip-and-5crightskip-28tex-primitives29)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://overleaf-pro.ayaka.space/latex/zh-cn/wen-da/36-how-do-i-tab-indent-a-paragraph-in-latex.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
