> 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/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://overleaf-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.
