> ## Documentation Index
> Fetch the complete documentation index at: https://ayakaleaf-pro.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 模板

> 浏览模板库，并将模板作为新项目打开。

模板是管理员发布的项目。打开一个模板会为你创建一个属于自己的新项目。

> [!NOTE]
>
> 如果你看不到 **Templates** 链接，请让管理员开启[模板库](https://ayakaleaf-pro.mintlify.site/zh-CN/on-premises/configuration/overleaf-toolkit/templates.md)。

## 打开模板库

在项目页面上，点击右上角的 **Templates**。

![项目页面，右上角有 Templates 链接](https://mintcdn.com/ayakaleaf-pro/PeD9iteXIf8j4GXw/images/on-premises/templates-user-projects.png?fit=max\&auto=format\&n=PeD9iteXIf8j4GXw\&q=85\&s=0ac231ad8235b4586dbcde6ed40cdb4f)

Templates 链接

**All templates** 页面随即打开，最近更新的模板排在最前面。

![All templates 页面，包含搜索框、排序按钮和最前面的几个模板](https://mintcdn.com/ayakaleaf-pro/PeD9iteXIf8j4GXw/images/on-premises/templates-user-all.png?fit=max\&auto=format\&n=PeD9iteXIf8j4GXw\&q=85\&s=0fc453d4bca3ccc8647faa6ca35a1a7e)

所有模板

如果你还没有项目，请在欢迎页面上点击 **Browse templates**。

![欢迎页面，包含 Create a new project 和 Browse templates](https://mintcdn.com/ayakaleaf-pro/PeD9iteXIf8j4GXw/images/on-premises/templates-user-welcome.png?fit=max\&auto=format\&n=PeD9iteXIf8j4GXw\&q=85\&s=f141a7685d351c287414214c4d682a0c)

欢迎页面

如果你已有项目，也可以点击 **New project**，然后点击 **More templates**，再选择一个分类。

![New project 菜单中展开了 More templates，列出了各个分类](https://mintcdn.com/ayakaleaf-pro/PeD9iteXIf8j4GXw/images/on-premises/templates-user-more-templates.png?fit=max\&auto=format\&n=PeD9iteXIf8j4GXw\&q=85\&s=f37aacd7f3793b933c1bac11be52eff1)

More templates

默认情况下，模板库需要登录：如果有人给你发送了模板链接而你尚未登录，你会先进入登录页面，然后再进入该模板。

## 查找模板

在框中**搜索**。列表会随着你的输入更新，并匹配标题、作者和描述。如果没有匹配项，页面会显示 **No Templates.**

![搜索框中输入了 slides，下方有一个匹配的模板](https://mintcdn.com/ayakaleaf-pro/PeD9iteXIf8j4GXw/images/on-premises/templates-user-search.png?fit=max\&auto=format\&n=PeD9iteXIf8j4GXw\&q=85\&s=f382fa7a0a996085e25e41e5c94f2674)

搜索 slides

使用列表右上方的 **Last Updated** 或 **Title** 进行**排序**。再次点击当前使用的排序方式可反转顺序。

在列表下方**翻页**。每页显示九个模板。

![列表下方的翻页按钮 1、2、Next 和 Last](https://mintcdn.com/ayakaleaf-pro/PeD9iteXIf8j4GXw/images/on-premises/templates-user-pages.png?fit=max\&auto=format\&n=PeD9iteXIf8j4GXw\&q=85\&s=f9a0521a3d413e57f947e548e6e22aad)

翻页按钮

**按分类浏览：**在 **All templates** 页面点击 **Template Gallery**。模板库页面为每个分类显示一张卡片，所有模板列在卡片下方。

![模板库页面，包含 Journal articles、Books 和 Presentations 卡片](https://mintcdn.com/ayakaleaf-pro/PeD9iteXIf8j4GXw/images/on-premises/templates-user-categories.png?fit=max\&auto=format\&n=PeD9iteXIf8j4GXw\&q=85\&s=d7527a16a887b381987ab974f98abaf4)

分类

点击卡片即可查看该分类的模板。你在这里同样可以搜索和排序，点击 **All templates** 可返回。

![Presentations 分类页面，包含一个模板](https://mintcdn.com/ayakaleaf-pro/PeD9iteXIf8j4GXw/images/on-premises/templates-user-category.png?fit=max\&auto=format\&n=PeD9iteXIf8j4GXw\&q=85\&s=a59bf19b5437e99706ddb19255c0ecea)

分类页面

## 将模板作为新项目打开

**1. 打开模板**

点击一个模板。你会看到其第一页的预览、作者、最后更新时间、许可证和摘要。

![模板页面，包含 Open as Template、View PDF 和下载按钮、详细信息以及预览](https://mintcdn.com/ayakaleaf-pro/PeD9iteXIf8j4GXw/images/on-premises/templates-user-template-page.png?fit=max\&auto=format\&n=PeD9iteXIf8j4GXw\&q=85\&s=5c38b5b574608f6d51c90a222c605deb)

模板页面

**View PDF** 会打开完整的 PDF。旁边的按钮会将文件下载为 zip。

**2. 点击 Open as Template**

经过短暂的加载画面后，编辑器会打开你的新项目。

![编辑器中打开了新项目 Lecture slides，显示其源代码和编译后的 PDF](https://mintcdn.com/ayakaleaf-pro/PeD9iteXIf8j4GXw/images/on-premises/templates-user-opened.png?fit=max\&auto=format\&n=PeD9iteXIf8j4GXw\&q=85\&s=7632b4d2cf12b90e76912ddadc8df583)

你的新项目

**3. 检查项目**

项目使用模板的名称和文件，以及相同的编译器和主文档。它在打开时会自动编译，在项目列表中你是它的所有者。

再次打开同一个模板会创建另一个项目，例如 `Journal article (1)`。

![项目列表中有 Journal article 和 Journal article (1)](https://mintcdn.com/ayakaleaf-pro/PeD9iteXIf8j4GXw/images/on-premises/templates-user-list.png?fit=max\&auto=format\&n=PeD9iteXIf8j4GXw\&q=85\&s=33ad8e1a83a4d0743aaaf69ee8aa1318)

每次打开都会创建一个项目

你的项目不依赖于模板：模板更新或删除时，你的项目保持不变。

> [!NOTE]
>
> 普通账户无法发布或修改模板：**File** 菜单中没有 **Manage Template**，模板页面上也没有 **Edit** 或 **Delete**。要将模板添加到模板库，请联系管理员。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.