> 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/latex-ji-chu/05-errors.md).

# 錯誤

LaTeX 錯誤訊息有時候很難理解與修正。我們在下方整理了一份常見錯誤清單，並附上更多關於其含義以及如何解決的資訊。

## 對齊方式

* [對齊定位符號 & 使用位置錯誤](/latex/zh-tw/latex-cuo-wu/23-misplaced-alignment-tab-character.md)
* [多餘的對齊定位符已改為 \cr。](/latex/zh-tw/latex-cuo-wu/07-extra-alignment-tab-has-been-changed-to-cr.md)

## 重複下標

* [重複下標](/latex/zh-tw/latex-cuo-wu/04-double-subscript.md)

## 缺少數學模式字元

* [顯示數學模式應以 $$ 結束](/latex/zh-tw/latex-cuo-wu/03-display-math-should-end-with.md)
* [缺少插入的 $](/latex/zh-tw/latex-cuo-wu/25-missing-inserted.md)

## 參考文獻

* [有未定義的參考文獻](/latex/zh-tw/latex-cuo-wu/30-there-were-undefined-references.md)
* [第 XXX 頁上的參考 XXX 在輸入第 XXX 行未定義](/latex/zh-tw/latex-cuo-wu/30-there-were-undefined-references.md)

## 標籤

* [存在多個重複定義的標籤。](/latex/zh-tw/latex-cuo-wu/29-there-were-multiply-defined-labels.md)
* [標籤 XXX 被重複定義。](/latex/zh-tw/latex-cuo-wu/29-there-were-multiply-defined-labels.md)

## 浮動體指定符

* [\`h' 浮動體指定符已改為 \`ht'。](/latex/zh-tw/latex-cuo-wu/01-h-float-specifier-changed-to-ht.md)
* [可選浮動體指定符中沒有位置。](/latex/zh-tw/latex-cuo-wu/28-no-positions-in-optional-float-specifier.md)

## 未定義的控制序列

* [未定義的控制序列。](/latex/zh-tw/latex-cuo-wu/31-undefined-control-sequence.md)

## 找不到檔案

* [在輸入第 XXX 行找不到檔案 XXX。"](/latex/zh-tw/latex-cuo-wu/09-file-xxx-not-found-on-input-line-xxx.md)
* [LaTeX 錯誤：找不到檔案 XXX。"](/latex/zh-tw/latex-cuo-wu/09-file-xxx-not-found-on-input-line-xxx.md)
* [套件 pdftex.def 錯誤：找不到檔案 XXX。"](/latex/zh-tw/latex-cuo-wu/09-file-xxx-not-found-on-input-line-xxx.md)

## 缺少數字／非法的度量單位

* [缺少數字，視為 0](/latex/zh-tw/latex-cuo-wu/26-missing-number-treated-as-zero.md)
* [非法的度量單位（已插入 pt）](/latex/zh-tw/latex-cuo-wu/10-illegal-unit-of-measure-pt-inserted.md)

## 環境未定義（缺少套件）

* [LaTeX 錯誤：環境 tikzpicture 未定義](/latex/zh-tw/latex-cuo-wu/14-latex-error-environment-xxx-undefined.md)
* [LaTeX 錯誤：環境 theorem 未定義](/latex/zh-tw/latex-cuo-wu/14-latex-error-environment-xxx-undefined.md)
* [LaTeX 錯誤：環境 split 未定義](/latex/zh-tw/latex-cuo-wu/14-latex-error-environment-xxx-undefined.md)
* [LaTeX 錯誤：環境 minipage\* 未定義](/latex/zh-tw/latex-cuo-wu/14-latex-error-environment-xxx-undefined.md)
* [LaTeX 錯誤：環境 maplelatex 未定義](/latex/zh-tw/latex-cuo-wu/14-latex-error-environment-xxx-undefined.md)
* [LaTeX 錯誤：環境 mapleinput 未定義](/latex/zh-tw/latex-cuo-wu/14-latex-error-environment-xxx-undefined.md)
* [LaTeX 錯誤：環境 maplegroup 未定義](/latex/zh-tw/latex-cuo-wu/14-latex-error-environment-xxx-undefined.md)
* [LaTeX 錯誤：環境 flalign 未定義](/latex/zh-tw/latex-cuo-wu/14-latex-error-environment-xxx-undefined.md)
* [LaTeX 錯誤：環境 figure\* 未定義](/latex/zh-tw/latex-cuo-wu/14-latex-error-environment-xxx-undefined.md)
* [LaTeX 錯誤：環境 comment 未定義](/latex/zh-tw/latex-cuo-wu/14-latex-error-environment-xxx-undefined.md)
* [LaTeX 錯誤：環境 biblio\_lat 未定義](/latex/zh-tw/latex-cuo-wu/14-latex-error-environment-xxx-undefined.md)
* [LaTeX 錯誤：環境 align\* 未定義](/latex/zh-tw/latex-cuo-wu/14-latex-error-environment-xxx-undefined.md)
* [LaTeX 錯誤：環境 align 未定義](/latex/zh-tw/latex-cuo-wu/14-latex-error-environment-xxx-undefined.md)
* [LaTeX 錯誤：環境 algorithm 未定義](/latex/zh-tw/latex-cuo-wu/14-latex-error-environment-xxx-undefined.md)
* [LaTeX 錯誤：環境 adjustbox 未定義](/latex/zh-tw/latex-cuo-wu/14-latex-error-environment-xxx-undefined.md)

## 內容不足與過滿的盒子

雖然這些警告是 *不是* 錯誤，我們仍為了方便將它們列在這裡：

* [了解內容不足與過滿盒子的警告](/latex/zh-tw/zhi-shi-ku/138-understanding-underfull-and-overfull-box-warnings.md)

## 其他

* [LaTeX 錯誤：只能在導言區使用](/latex/zh-tw/latex-cuo-wu/13-latex-error-can-be-used-only-in-preamble.md)
* [LaTeX 錯誤：缺少 \begindocument](/latex/zh-tw/latex-cuo-wu/16-latex-error-missing-begin-document.md)
* [LaTeX 錯誤：\verb 於行尾結束](/latex/zh-tw/latex-cuo-wu/12-latex-error-verb-ended-by-end-of-line.md)
* [未提供 \author](/latex/zh-tw/latex-cuo-wu/27-no-author-given.md)
* [\noalign 使用位置錯誤](/latex/zh-tw/latex-cuo-wu/22-misplaced-noalign.md)
* [LaTeX 錯誤：出了點問題——也許是少了 \item](/latex/zh-tw/latex-cuo-wu/17-latex-error-something-s-wrong-perhaps-a-missing-item.md)
* [這裡沒有可結束的行](/latex/zh-tw/latex-cuo-wu/18-latex-error-there-s-no-line-here-to-end.md)
* [未知的圖形副檔名：.XXX](/latex/zh-tw/latex-cuo-wu/21-latex-error-unknown-graphics-extension-.xxx.md)


---

# 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/latex-ji-chu/05-errors.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.
