> 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-cuo-wu/32-unused-global-option-s.md).

# 未使用的全域選項

當類別的其中一個全域選項使用不正確時，就會出現此錯誤。LaTeX 中的大多數類別檔都會附帶不同的選項，例如 **`10pt`** 字型大小，或 **`a5paper`**。這些會插入在以下命令的方括號中： **`\documentclass[options]{class}`** 在文件開頭。如果你不正確地指定這些選項，就會產生看起來像這樣的錯誤訊息：

main.tex

未使用的全域選項

## 常見原因

**使用了該類別不支援的字型選項：**

大多數標準 LaTeX 類別只接受 **`10pt`**, **`11pt`** 或 **`12pt`** 字型選項。如果你寫入像這樣的字型選項： **`\documentclass[13pt]{article}`** ，你就會產生一個 *未使用的全域選項* 錯誤，因為 **`13pt`** 字型大小不是有效的選項。

某些類別，例如 **`scrbook`** 可以接受任何字型大小作為選項。這使使用者能夠寫出像這樣的選項： **`\documentclass[fontsize=16pt]{scrbook}`**。每當使用新的類別時，你都應該先查看該類別文件中可用的字型選項。

若想要更多樣化的字型大小選項，可以考慮 [**`extsizes`**](http://ctan.org/pkg/extsizes) 套件中的類別。此套件提供你像以下這些類別： **`extarticle`**, **`extreport`**, **`extbook`** 和 **`extletter`**。這些類別允許以下字型選項： **`8pt`**, **`9pt`**, **`10pt`**, **`11pt`**, **`12pt`**, **`14pt`**, **`17pt`** 或 **`20pt`**.

如果你想進一步了解 LaTeX 中不同的字型大小，請參閱我們的 [說明文件](/latex/zh-tw/zi-xing/01-font-sizes-families-and-styles.md).

**使用了類別未指定的選項：**

此錯誤訊息的另一個常見原因，是使用了類別未指定的選項。舉例來說，會寫成 **`\documentclass[doublesided]{Thesis}`** 當你想為以下類別使用雙面頁面格式時： **`Thesis`** 類別。這是個錯誤，因為 **`Thesis`** 該類別將此選項命名為 **`twosided`**。因此，要使用雙面頁面格式，你必須寫成 **`\documentclass[twosided]{Thesis}`**.

像這樣的選項會因類別而異。因此，檢查類別檔以及隨附的任何文件都很重要。如此一來，你就能知道該類別提供哪些可用選項。


---

# 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-cuo-wu/32-unused-global-option-s.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.
