> 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/33-latex-video-tutorial-for-beginners-video-3.md).

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

[影片 1](/latex/zh-tw/geng-duo-zhu-ti/31-latex-video-tutorial-for-beginners-video-1.md) | [影片 2](/latex/zh-tw/geng-duo-zhu-ti/32-latex-video-tutorial-for-beginners-video-2.md) | 影片 3 | [影片 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 文件，並具備開始學習如何建立更複雜文件的知識。每支影片都附有逐字稿（列於影片下方）——這些內嵌逐字稿取代了每個教學開頭顯示的網址。

### LaTeX 中的數學

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

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

### 影片逐字稿

在 [上一個影片](/latex/zh-tw/geng-duo-zhu-ti/32-latex-video-tutorial-for-beginners-video-2.md) 我們看過了如何將文件分割成章節與段落。在這個影片中，我們將看看如何在文件中加入基本的數學符號和方程式。在開始以 LaTeX 撰寫數學內容之前，我們建議你先載入 `amsmath` 套件，這樣在撰寫更複雜的數學文件時，你會有更多選項。要這麼做，只要使用 `\usepackage{...}` 指令並輸入 `amsmath` 在大括號之間，如下所示： `\usepackage{amsmath}`.

若要直接在你撰寫的文字中寫數學式，只要將數學內容用美元符號括起來即可。ShareLaTeX 會把美元符號中的內容以綠色標示，讓你可以輕鬆辨識內嵌數學。

要寫上標，請在數字或符號後面加上插入符號，再將你想放在上標中的數字或符號放入大括號。

要寫下標也是同樣的步驟，只是我們改用底線而不是插入符號。

將希臘字母加入 LaTeX 非常容易。希臘字母表中的每個字母都有對應的指令，也就是反斜線後面接上該希臘字母的英文名稱。如果你想把它們大寫，只要把指令的開頭改成大寫字母即可。

幾乎你能想到的任何數學函式都有對應的 LaTeX 指令可供排版。網路上有許多這類清單，所以我現在只先介紹幾個給你。首先，三角函數看起來像這樣。平方根函數則像這樣。分數可以很容易地使用 `\frac` 指令來輸入。還有許多可用於撰寫代數敘述的函式，例如這個 subset 指令。

通常你不會想把數學式與文字內嵌在一起，特別是在撰寫較複雜的方程式時。因此，若要在新的一行撰寫方程式或公式，你可以使用 begin equation 環境。這裡有一個使用基本多項式的此結構範例，以及一個示範求和符號的範例。你會注意到 LaTeX 已自動為這些方程式編號，並在頁面右側以括號列出對應的編號。如果你不希望方程式被編號，可以在 begin 和 end 指令中的 equation 一詞後面立即加上一個星號。以下是一個使用定積分的範例。

這就結束了我們對 LaTeX 數學的討論。在 [下一個影片](/latex/zh-tw/geng-duo-zhu-ti/34-latex-video-tutorial-for-beginners-video-4.md) 我們將看看如何在文件中插入圖片。

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