> For the complete documentation index, see [llms.txt](https://ayakaleaf-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://ayakaleaf-pro.ayaka.space/latex/zh-cn/shu-xue/13-kb-using-the-symbol-palette-in-overleaf.md).

# 在 Overleaf 中使用符号面板

## 引言

本文将介绍 Overleaf 的 **符号面板**——一种在文档中插入数学符号的快捷方便方式。 **符号面板** 是一个 [高级功能](/latex/zh-cn/zhi-shi-ku/120-overleaf-premium-features.md)。Overleaf 高级功能可供以下用户使用： [Overleaf Commons](https://www.overleaf.com/for/universities)中的参与者、 [订阅](https://www.overleaf.com/for/groups)的组成员，以及个人 [订阅](https://www.overleaf.com/user/subscription/plans).

## 向文档中添加符号

要打开 **符号面板**，请点击 **Ω** 按钮，在使用 **代码编辑器** 或 **可视化编辑器**:

{% embed url="<https://videos.ctfassets.net/nrgyaltdicpt/2qyaqQ52d5wuRI2yfMjV2p/b0e08dc0549845254a53f98273b33a11/SymbolPalleteEditor.mp4>" %}

该 **符号面板** 时，该按钮会显示在编辑器窗口底部。

![Overleaf 符号面板](/files/da0e0fa8ce0d1125f8d8e3c9675cca6864cbe87d)

要关闭 **符号面板** 请点击 **Ω** 按钮，或者使用 **X** 符号。

### 视频演示

该 **符号面板** 包含一组常用数学符号，你可以浏览，也可以在输入其名称或别名进行搜索的 **搜索** 框中输入名称或别名进行搜索。所有包含在该 **符号面板** 中的符号都用于数学内容，这意味着它们需要插入到 LaTeX 文档编译器处于所谓 *数学模式。* 如果你对数学模式一无所知，请观看以下视频并阅读 [下一节](#math-mode).

{% embed url="<https://videos.ctfassets.net/nrgyaltdicpt/3G3xXK2HVCsZ509ITaYthE/b1d85d061208304259a1c62ad49b982f/SymbolPalette.mp4>" %}

## 数学模式

在 **符号面板** 中显示的符号只有在 LaTeX 处于数学模式时才能插入文档中，这意味着它们必须包含在特殊的数学标记中：

* 要将你的公式放入 *行内* 模式，请将其用分隔符包围： `\( \)` 或 `$ $`。你也可以将其放入 `数学` 环境： `\begin{math} \end{math}`.
* 要将你的公式放入 *显示* 数学模式，请使用以下任一种： `\[ \]` 或 `\begin{equation} \end{equation}`

这也适用于诸如下标（\_）、积分（`\int`）、希腊字母（`\alpha`, `\beta`, `\delta`）以及修饰符（`\vec{x}`, `\tilde{x}`).

如果你想进一步了解数学模式，我们有一份简短说明 [此处](/latex/zh-cn/shu-xue/01-mathematical-expressions.md#mathematical-modes) ；如果想更全面地了解在 LaTeX 中编写数学内容，请查看 [30分钟学会 LaTeX](/latex/zh-cn/latex-ji-chu/01-learn-latex-in-30-minutes.md)——尤其是其中的 [向 LaTeX 中添加数学内容](/latex/zh-cn/latex-ji-chu/01-learn-latex-in-30-minutes.md#adding-math-to-latex).

如果你将这些符号中的任意一个 *放在* 数学模式之外，在编译文档时会看到一些错误。你看到的错误取决于文档中的其他内容，但由在数学模式之外使用数学符号引发的常见错误是 [`插入了缺少的 $`](/latex/zh-cn/latex-cuo-wu/25-missing-inserted.md)

## 宏包

某些符号需要你使用额外的宏包——如果将鼠标悬停在符号上，工具提示会告诉你需要哪个宏包：

![提示需要 LaTeX 宏包的符号面板](/files/2f3d6874621a9b1153f552a0cd527c37e5d01b72)

例如，在这种情况下，要使用 `\iint` 符号，你需要确保已在文档中加入 `\usepackage{amsmath}` ，即在文档导言区中，放在 `\begin{document}` 语句之前。

要查看 Overleaf 支持的宏包，请阅读 [你们支持哪些宏包？](/latex/zh-cn/zhi-shi-ku/155-what-packages-do-you-support.md)

## 延伸阅读

我们有许多帮助文章；以下是一些你可能会感兴趣的内容：

* [在 Overleaf 中使用文件大纲](/latex/zh-cn/zhi-shi-ku/147-using-the-file-outline-in-overleaf.md)
* [使用 Overleaf 项目菜单](/latex/zh-cn/zhi-shi-ku/148-using-the-overleaf-project-menu.md)
* [插入了缺少的 $](/latex/zh-cn/latex-cuo-wu/25-missing-inserted.md)
* [数学表达式](/latex/zh-cn/shu-xue/01-mathematical-expressions.md)
* [数学模式中的间距](/latex/zh-cn/shu-xue/08-spacing-in-math-mode.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://ayakaleaf-pro.ayaka.space/latex/zh-cn/shu-xue/13-kb-using-the-symbol-palette-in-overleaf.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.
