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

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

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

### 建立你的第一份 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-tw/geng-duo-zhu-ti/32-latex-video-tutorial-for-beginners-video-2.md) | [影片 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/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.
