> 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/geng-duo-zhu-ti/31-latex-video-tutorial-for-beginners-video-1.md).

# LaTeX 初学者视频教程（视频 1）

视频 1 | [视频 2](/latex/zh-cn/geng-duo-zhu-ti/32-latex-video-tutorial-for-beginners-video-2.md) | [视频 3](/latex/zh-cn/geng-duo-zhu-ti/33-latex-video-tutorial-for-beginners-video-3.md) | [视频 4](/latex/zh-cn/geng-duo-zhu-ti/34-latex-video-tutorial-for-beginners-video-4.md) | [视频 5](/latex/zh-cn/geng-duo-zhu-ti/35-latex-video-tutorial-for-beginners-video-5.md) | [视频 6](/latex/zh-cn/geng-duo-zhu-ti/36-latex-video-tutorial-for-beginners-video-6.md) | 视频 7

这套由 7 部分组成的 LaTeX 教程视频系列最初于 2013 年发布；因此，由于 ShareLaTeX 的发展以及随后 ShareLaTeX 与 Overleaf 的合并，如今的编辑器界面已经有了很大变化。不过，这些视频内容仍然适用，并会教你 LaTeX 的基础知识——这些技能和经验适用于所有平台。你不需要任何先前的背景知识，在这些 LaTeX 指南结束时，你将能够创建并编写基本的 LaTeX 文档，并具备开始学习如何创建更复杂文档的知识。每个视频都配有一份文字稿（列在视频下方）——这些嵌入式文字稿取代了每个教程开头显示的 URL。

### 创建你的第一个 LaTeX 文档

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

### 视频字幕

欢迎来到 ShareLaTeX 教程视频。在这个视频系列中，我们将帮助你从完全不了解 LaTeX，进步到能够创建复杂文档。我们将使用 ShareLaTeX 作为 LaTeX 编辑器，但你学到的技能适用于所有平台。在第一个视频中，我们会向你展示如何注册 ShareLaTeX，带你快速浏览一下，并教你如何编译你的第一个 LaTeX 文档。

首先输入你的姓名、电子邮件地址并选择一个密码。这样我们就来到了项目页面，所有的 LaTeX 项目都会存放在这里。要创建一个新项目，点击绿色的“新建项目”按钮。现在你有多种选项。你可以创建一个空白项目、查看示例项目、上传现有的 LaTeX 项目，或者从我们提供的有用模板中开始构建。我们将选择一个空白项目。现在为你的项目命名并点击创建。这就来到了编辑器。左侧面板用于管理与此项目相关的所有文件。中间面板是代码编辑器，你在这里编写文档，右侧面板是预览区域。你还会注意到最左侧有四个按钮。第一个是代码页面，我们当前正在使用它；第二个是历史页面，可以启用它来跟踪对文档所做的更改；第三个是分享页面，你可以在这里激活 ShareLaTeX 的协作系统；最后一个按钮是设置页面。在这个页面中，你可以更改项目名称、更改访问设置、下载项目、删除项目，以及设置 Dropbox 同步。

让我们回到代码页面，编辑我们的第一个文档。你会注意到 ShareLaTeX 默认已经为你提供了一些代码。让我们逐行看一下并讨论它们的作用。每一条以反斜杠开头的语句都是一个 LaTeX 命令，ShareLaTeX 已经用蓝色对它们进行了颜色标记，以便于识别。这个 `\documentclass{}` 命令告诉 LaTeX 你想生成什么类型的文档，常见选项包括 article、book、report、slides 和 letter。第二行中的命令让 LaTeX 能够使用重音字符。这个 `\title{}` 命令告诉 LaTeX 你的文档标题；让我们通过编辑花括号中的文字来修改它。接下来的两个命令会向 LaTeX 提供关于文档作者和写作日期的信息；我们也把这些更新一下。这就完成了所谓的导言区。

该 `\begin{}` 第 8 行中的命令告诉 LaTeX 我们要开始编写文档。这个 `\maketitle{}` 命令会使用我们在导言区输入的信息，将标题放入文档中。这个 `\section{}` 命令用于帮助你把文档划分为逻辑部分。这个第一个部分被命名为 Introduction，在它下面我们可以开始添加文本。第 14 行是 `\end{}` 命令，这里它告诉 LaTeX 我们已经完成了文档的编写。每次你使用一个 `\begin{}` 命令时，你还必须记得在后面使用一个 `\end{}` 命令，以避免 LaTeX 报错。

现在我们可以通过点击重新编译按钮来查看文档的样子。将鼠标悬停在预览面板左上角，可以让你获得放大和缩小文档的选项，从而检查一切是否符合预期。

就是这样，你的第一个 LaTeX 文档已经完成。在接下来的视频中，我们将看看如何使用更高级的 LaTeX 功能。

视频 1 | [视频 2](/latex/zh-cn/geng-duo-zhu-ti/32-latex-video-tutorial-for-beginners-video-2.md) | [视频 3](/latex/zh-cn/geng-duo-zhu-ti/33-latex-video-tutorial-for-beginners-video-3.md) | [视频 4](/latex/zh-cn/geng-duo-zhu-ti/34-latex-video-tutorial-for-beginners-video-4.md) | [视频 5](/latex/zh-cn/geng-duo-zhu-ti/35-latex-video-tutorial-for-beginners-video-5.md) | [视频 6](/latex/zh-cn/geng-duo-zhu-ti/36-latex-video-tutorial-for-beginners-video-6.md) | 视频 7


---

# 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/geng-duo-zhu-ti/31-latex-video-tutorial-for-beginners-video-1.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.
