> 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-tw/wen-yu-da/62-i-want-to-write-greek-language-text.-how-do-i-do-this.md).

# 我想撰寫希臘文文字。該怎麼做？

您可以使用以下方式排版希臘文： `babel` 套件，如下列範例所示：

```latex
\documentclass[a4paper]{article}
\usepackage[english,greek]{babel}
\begin{document}

\section{引言}

今天我第一次看見了
\selectlanguage{english} 網站
\selectlanguage{greek}喬安尼斯的。

\[
a = b + \gamma
\]
\end{document}
```

[在 Overleaf 中開啟這個範例](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=Example+using+Greek+text\&snip=%5Cdocumentclass%5Ba4paper%5D%7Barticle%7D%0A%5Cusepackage%5Benglish%2Cgreek%5D%7Bbabel%7D%0A%5Cbegin%7Bdocument%7D%0A%0A%5Csection%7B%CE%95%CE%B9%CF%83%CE%B1%CE%B3%CF%89%CE%B3%CE%AE%7D%0A%0A%CE%A3%CE%AE%CE%BC%CE%B5%CF%81%CE%B1+%CE%B5%CE%AF%CE%B4%CE%B1+%CE%B3%CE%B9%CE%B1+%CF%80%CF%81%CF%8E%CF%84%CE%B7+%CF%86%CE%BF%CF%81%CE%AC+%CF%84%CE%BF%0A%5Cselectlanguage%7Benglish%7D+site%0A%5Cselectlanguage%7Bgreek%7D%CF%84%CE%BF%CF%85+%CE%93%CE%B9%CE%AC%CE%BD%CE%BD%CE%B7.%0A%0A%5C%5B%0Aa+%3D+b+%2B+%5Cgamma%0A%5C%5D%0A%5Cend%7Bdocument%7D)

此範例會產生以下輸出：

![使用 LaTeX 排版的希臘文](/files/a5c4fe9a846c40086ed199676ece7c64c29684b3)

另請參閱 Overleaf 說明文章： [希臘文排版](/latex/zh-tw/yu-yan/09-greek.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-tw/wen-yu-da/62-i-want-to-write-greek-language-text.-how-do-i-do-this.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.
