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

# 初學者 LaTeX 影片教學（影片 2）

[影片 1](/latex/zh-tw/geng-duo-zhu-ti/31-latex-video-tutorial-for-beginners-video-1.md) | 影片 2 | [影片 3](/latex/zh-tw/geng-duo-zhu-ti/33-latex-video-tutorial-for-beginners-video-3.md) | [影片 4](/latex/zh-tw/geng-duo-zhu-ti/34-latex-video-tutorial-for-beginners-video-4.md) | [影片 5](/latex/zh-tw/geng-duo-zhu-ti/35-latex-video-tutorial-for-beginners-video-5.md) | [影片 6](/latex/zh-tw/geng-duo-zhu-ti/36-latex-video-tutorial-for-beginners-video-6.md) | 影片 7

這套由七部分組成的 LaTeX 教學影片系列最早於 2013 年發佈；因此，由於 ShareLaTeX 的發展，以及後來 ShareLaTeX 與 Overleaf 的合併，今天的編輯器介面已經有了相當大的變化。不過，影片內容仍然很有參考價值，並且會教你 LaTeX 的基礎知識——這些技能與專業知識可適用於所有平台。你不需要任何先備背景知識，而在這些 LaTeX 指南結束時，你將能夠建立並撰寫基本的 LaTeX 文件，並具備開始學習如何建立更複雜文件的知識。每部影片都附有逐字稿（列在影片下方）——這些就地逐字稿取代了每個教學開頭所顯示的 URL。

### LaTeX 中的段落與章節

**注意：** 你可以透過以下方式開啟影片中使用的專案 [點擊此連結](https://www.sharelatex.com/project/51e68895fdf7a9bd7b305993).

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

### 影片逐字稿

在 [上一部影片](/latex/zh-tw/geng-duo-zhu-ti/31-latex-video-tutorial-for-beginners-video-1.md) 我們已幫助你完成 ShareLaTeX 的設定，向你展示了它的一些功能，並協助你建立了第一份文件。在這部影片中，我們將看看如何使用章節與段落來分割文件。讓我們打開上次建立的文件。

目前我們的文件只有一個名為「Introduction」的章節。讓我們再增加幾個，讓它更像一份實驗報告。通常把章節再細分成更低層級或子章節會很有幫助。這些可以使用 `\subsection` 指令建立。如果你想要更往下分層，還可以加入子子章節。

現在讓我們談談段落。如果你想開始撰寫新段落，必須在程式碼中留一行空白。這樣會自動換到新的一行並為你縮排。請注意，留多於一行的空白和只留一行空白的效果其實一樣。不過，如果你只做單一換行，LaTeX 會忽略它。如果你想讓 LaTeX 換行但不開始新段落，可以使用雙反斜線，但這種做法不太建議，因為它會導致不好的排版風格。

在 [上一部影片](/latex/zh-tw/geng-duo-zhu-ti/31-latex-video-tutorial-for-beginners-video-1.md) 我們簡要提到過 `\maketitle` 指令，它會加入標題以及作者和日期資訊，這些資訊都會從前言區中擷取。你不一定總是想在文件上放一個大標題，因此你可以很容易地透過註解把它移除。做法很簡單，只要在指令前面直接加上一個百分號即可。

這就引出了註解的主題。註解是程式碼中的一部分，LaTeX 在編譯文件時會忽略它們。若要告訴 LaTeX 你寫的是註解，只要在文字前面加上百分號，那麼該行中百分號之後的任何文字都會被忽略。註解是用來提供讀你程式碼的人一些資訊，說明程式碼的作用或用途。經常為程式碼加上註解是一個好習慣。例如，我可能會在程式碼開頭寫一則註解，說明文件的目的。我也可能寫一則註解來提醒自己某個章節的一部分還沒完成。註解也很適合用來關閉程式碼而不刪除它，就像我們在 make title 指令中做的那樣。

那麼，這就結束了我們對章節與段落的討論。在下一部影片中，我們將看看如何使用 LaTeX 撰寫基本數學與方程式。

[影片 1](/latex/zh-tw/geng-duo-zhu-ti/31-latex-video-tutorial-for-beginners-video-1.md) | 影片 2 | [影片 3](/latex/zh-tw/geng-duo-zhu-ti/33-latex-video-tutorial-for-beginners-video-3.md) | [影片 4](/latex/zh-tw/geng-duo-zhu-ti/34-latex-video-tutorial-for-beginners-video-4.md) | [影片 5](/latex/zh-tw/geng-duo-zhu-ti/35-latex-video-tutorial-for-beginners-video-5.md) | [影片 6](/latex/zh-tw/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-tw/geng-duo-zhu-ti/32-latex-video-tutorial-for-beginners-video-2.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.
