> For the complete documentation index, see [llms.txt](https://ayakaleaf-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://ayakaleaf-pro.ayaka.space/latex/zh-cn/wen-da/47-how-to-get-started-writing-your-thesis-in-latex.md).

# 如何开始用 LaTeX 撰写论文

使用 LaTeX 撰写论文或学位论文可能颇具挑战，但最终成果绝对值得——没有什么比 LaTeX 生成的 PDF 更美观；而对于大型文档来说，它也比在 MS Word 中与格式和交叉引用反复较劲要容易得多。这里我们提供一份入门指南，帮助你开始使用 LaTeX 撰写论文，并使用已预加载到 Overleaf 中的标准模板。

我们在我们的 [在线模板库](https://www.overleaf.com/templates)中有大量论文模板，如果你的大学提供了一套 LaTeX 模板文件，你也可以上传你自己的模板。

我们假设你之前已经使用过 LaTeX，因此熟悉标准命令（如果还不熟悉，请参见我们的 [其他教程视频](https://www.overleaf.com/help/category/video_tutorials) ），并重点介绍如何处理一个跨多个文件的大型项目。

{% embed url="<https://www.youtube.com/embed/xlkxszXYqbM>" %}


---

# 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://ayakaleaf-pro.ayaka.space/latex/zh-cn/wen-da/47-how-to-get-started-writing-your-thesis-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.
