> 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/zhi-shi-ku/083-how-to-use-the-overleaf-layout-menu.md).

# 如何使用 Overleaf 布局菜单

本文介绍了 Overleaf 的 **布局** 菜单，它提供 4 个选项来配置您的 Overleaf 工作区。这些选项中的每一个都可用于特定场景，例如制作演示文稿或 [在两个独立的屏幕上使用 Overleaf](#pdf-in-a-separate-tab).

## 引言

下图显示了 **布局** 菜单，当前激活的选项旁边有一个对勾；这里是默认设置的 **编辑器和 PDF**:

![LayoutMenuDefault2.png](/files/385352bac65a4b022dcb48bf88ac924cca08bca4)

本文其余部分将演示这 4 个选项及其提供的功能。

## 编辑器和 PDF（默认）

此默认选项使用单个浏览器标签页来显示 LaTeX 编辑器和 PDF 预览。如果您有一个足够大的显示屏来安排工作，这种布局效果很好。如果您使用的是连接到大型外接屏幕的笔记本电脑，那么 [在单独标签页中显示 PDF](#pdf-in-a-separate-tab) 选项，将 LaTeX 编辑器和 PDF 预览显示在不同的浏览器标签页中，可能是一种更方便的配置。

![LayoutDefault.png](/files/2a95369fd55341c4502700119312e541ed9c45a6)

## 仅编辑器（隐藏 PDF）和仅 PDF（隐藏编辑器）

如果您希望暂时隐藏 PDF 预览或 LaTeX 文本编辑器，您可以使用以下布局模式： **仅编辑器（隐藏 PDF）** 或 **仅 PDF（隐藏编辑器）** 并可根据需要轻松在它们之间切换。以下短视频演示了如何使用这些模式以及在它们之间切换。

* **提示**：当处于以下模式时 **仅编辑器（隐藏 PDF）** ，可以使用源代码窗口右侧的小箭头将隐藏的 PDF 预览窗格完全重新打开：视频中对此进行了演示。

{% embed url="<https://videos.ctfassets.net/nrgyaltdicpt/35KlXfeBzFafDkfgliOb9i/5015010ee6ba43cdc244073fbab0c054/OtherModes.mp4>" %}

## 在单独标签页中显示 PDF

此布局选项为 Overleaf 文本编辑器和 PDF 预览使用不同的浏览器标签页，从而可以在两个屏幕上使用 Overleaf；例如，在笔记本电脑屏幕上查看 PDF 预览，同时在第二个大得多的外接屏幕上显示 LaTeX 编辑器——为编辑 LaTeX 文本提供了一种便捷方式。

* **注意**：两个标签页都有一个 **重新编译** 按钮。
* **提示**：将 PDF 预览显示在单独的屏幕上在视频演示时会很有用，使观众能够专注于 PDF，而不会被位于另一块（未共享）屏幕上的源代码分散注意力。

以下短视频演示了 **在单独标签页中显示 PDF** 布局：

{% embed url="<https://videos.ctfassets.net/nrgyaltdicpt/4DRSQm6aUYac4aIhesJig2/378ba1486657901fc1633664b3e08772/PDFdetachtutorial10.mp4>" %}

### 在单独标签页中跳转到代码或 PDF 位置

即使 PDF 预览和代码编辑器位于不同的标签页中，甚至可能在不同的屏幕上，您仍然可以使用“跳转到代码”位置或“跳转到 PDF”位置功能（由 [SyncTeX](/latex/zh-cn/geng-duo-zhu-ti/39-mltex-enctex-and-synctex-tex-extensions.md)提供），如下短视频片段所示：

{% embed url="<https://videos.ctfassets.net/nrgyaltdicpt/1Mk8JX5yXOOMKN5pHQGVEJ/e0f6e431f0b5a2d8d341a29088f089bb/SyncTeX.mp4>" %}


---

# 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/zhi-shi-ku/083-how-to-use-the-overleaf-layout-menu.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.
