> 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/on-premises/zh-tw/she-ding/overleaf-toolkit/adding-latex-user-help.md).

# 新增 LaTeX 使用者說明

您可以啟用對 Overleaf 的 [學習](https://www.overleaf.com/learn) 頁面，只需在您的 Overleaf Pro 執行個體中加入 `OVERLEAF_PROXY_LEARN=true` 到您的 `config/variables.env` Toolkit 中的檔案，然後執行 `bin/up` 指令重新建立所有服務。

這可讓使用者透過點擊 **文件** 導覽選單中的按鈕即可存取最新文件與學習資源，且無需離開您的執行個體。

{% hint style="info" %}
對於 Docker Compose 部署，您需要新增環境變數 `OVERLEAF_PROXY_LEARN: true` 中設為 **環境** 中的 `sharelatex` 服務到您的 `docker-compose.yml` 檔案。
{% endhint %}

{% hint style="info" %}
您的 Server Pro 部署將需要可存取網際網路，這樣它才能執行外部 `GET` 請求到 [https://learn.sharelatex.com](https://docs.overleaf.com/on-premises/welcome).
{% endhint %}

{% hint style="danger" %}
當您首次啟用此選項並重新啟動您的 Overleaf Docker 時，系統需要下載相關的 Wiki，這可能需要最多 5 分鐘或更久。只有在下載完成後，您才能成功看到您的 Overleaf 登入頁面。
{% endhint %}


---

# 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/on-premises/zh-tw/she-ding/overleaf-toolkit/adding-latex-user-help.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.
