> 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-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://overleaf-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.
