> 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/tu-biao-yu-biao-ge/03-lists-of-tables-and-figures.md).

# 表格與圖的清單

## 簡介

表格與圖表清單可使資訊井然有序，並便於快速存取特定項目。本文說明如何建立圖表清單、表格清單，以及如何變更兩者的預設標題。

先從一個基本範例開始：

```latex
\documentclass{article}
\usepackage{graphicx}
\graphicspath{ {figures/} }
\usepackage{array}

\begin{document}

\thispagestyle{empty}
\listoffigures
\listoftables
\newpage
\pagenumbering{arabic}

Lorem ipsum dolor sit amet, consectetuer adipiscing
elit.  Etiam lobortisfacilisis...
\end{document}
```

![ListOfTablesAndFiguresEx1OLV2.png](/files/66b08422d23ce252960e4f564b3e2a308668ebc4)

&#x20;[在 Overleaf 中開啟範例](https://www.overleaf.com/project/new/template/20148?id=68603601\&templateName=Lists+of+tables+and+figures\&latexEngine=pdflatex\&texImage=texlive-full%3A2020.1\&mainFile=)

這些指令 `\listoffigures` 和 `\listoftables` 已不言自明，第一個會產生圖表清單，第二個會產生表格清單。在這個範例中還有另外兩個相關指令：

**\thispagestyle{empty}**

移除頁碼編號。

**\pagenumbering{arabic}**

以阿拉伯數字重新開始頁碼編號。

## 變更名稱

如下列範例所示，預設標題「List of Tables」與「List of Figures」可以改成任何其他文字：

```latex
\documentclass{article}
\usepackage{graphicx}
\usepackage{array}
\graphicspath{ {figures/} }

\renewcommand{\listfigurename}{List of plots}
\renewcommand{\listtablename}{Tables}

\begin{document}

\thispagestyle{empty}
\listoffigures
\listoftables
\clearpage
\pagenumbering{arabic}

Lorem ipsum dolor sit amet, consectetuer adipiscing elit.  Etiam lobortisfacilisis...
\end{document}
```

![Listoffiguresandtables.png](/files/ebaa3708cb7d10469d52f446c0f57fb626ec2487)

&#x20;[在 Overleaf 中開啟範例](https://www.overleaf.com/project/new/template/20148?id=68603601\&templateName=Lists+of+tables+and+figures\&latexEngine=pdflatex\&texImage=texlive-full%3A2020.1\&mainFile=)

重新設定標題的指令如下：

* `\renewcommand{\listfigurename}{List of plots}` 會顯示「List of plots」，而不是「List of Figures」。
* `\renewcommand{\listtablename}{Tables}` 會顯示「Tables」，而不是「List of Tables」。

如果你使用 `babel` 套件於您的文件中，且若要使用前述任何指令，請將其放在 `\addto\captionsenglish{ }`。改用 `english` 於 `\captionenglish` 請寫入你在 babel 中設定的語言名稱。

**注意**：您的文件可能需要編譯兩次，清單才會正確產生。

## 延伸閱讀

更多資訊請參閱：

* [插入圖片](/latex/zh-tw/geng-duo-zhu-ti/27-inserting-images.md)
* [表格](/latex/zh-tw/tu-biao-yu-biao-ge/01-tables.md)
* [圖片與表格的定位](/latex/zh-tw/tu-biao-yu-biao-ge/02-positioning-images-and-tables.md)
* [章節](/latex/zh-tw/wen-jian-jie-gou/01-sections-and-chapters.md)
* [目錄](/latex/zh-tw/wen-jian-jie-gou/02-table-of-contents.md)
* [索引](/latex/zh-tw/wen-jian-jie-gou/04-indices.md)
* [詞彙表](/latex/zh-tw/wen-jian-jie-gou/05-glossaries.md)
* [頁碼編號](/latex/zh-tw/ge-shi-hua/03-page-numbering.md)
* [大型專案中的管理](/latex/zh-tw/wen-jian-jie-gou/07-management-in-a-large-project.md)
* [多檔案 LaTeX 專案](/latex/zh-tw/wen-jian-jie-gou/08-multi-file-latex-projects.md)
* [計數器](/latex/zh-tw/ge-shi-hua/10-counters.md)
* [LaTeX2ε 不算太短的入門介紹](http://www.ctan.org/tex-archive/info/lshort/)


---

# 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/tu-biao-yu-biao-ge/03-lists-of-tables-and-figures.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.
