> 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/de/schriftarten/02-font-typefaces.md).

# Schriftarten

## Einleitung

Standardmäßig setzt LaTeX Dokumente mit der $$\text{Computer Modern}$$ Schriftartenfamilie, aber Sie können LaTeX-Pakete verwenden, um je nach Ihren Bedürfnissen oder Vorlieben unterschiedliche Schriftarten zu nutzen.

## Ändern der Standard-Schriftarten des Dokuments

Zum Beispiel durch Hinzufügen von `\usepackage{tgbonum}` in die Dokumentpräambel verwendet LaTeX die Schriftfamilie TEX Gyre Bonum, um Ihr Dokument zu setzen:

```latex
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{tgbonum}

\begin{document}
Dieses Dokument ist ein Beispieldokument zum Testen von Schrift
familien und Schriftarten.

Dieser Text verwendet eine andere Schriftart
\end{document}
```

[Öffnen Sie dieses Beispiel in Overleaf](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=Change+LaTeX+fonts\&snip=%5Cdocumentclass%7Barticle%7D%0A%5Cusepackage%5BT1%5D%7Bfontenc%7D%0A%5Cusepackage%7Btgbonum%7D%0A%0A%5Cbegin%7Bdocument%7D%0AThis+document+is+a+sample+document+to+test+font+%0Afamilies+and+font+typefaces.%0A%0AThis+text+uses+a+different+font+typeface%0A%5Cend%7Bdocument%7D)

Das folgende Bild zeigt die Ausgabe des obigen Beispiels:

![FontTypefacesEx1OLV2.png](/files/b61b2a91d262fba2814f98cd3ab17f9f27da47f0)

## Ändern der standardmäßigen Schriftart

Die Schrift kann auch für ein bestimmtes Element im Dokument geändert werden.

```latex
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{tgbonum}

\begin{document}
Dieses Dokument ist ein Beispieldokument zum
Testen von Schriftfamilien und Schriftarten.

{\fontfamily{qcr}\selectfont
Dieser Text verwendet eine andere Schriftart
}
\end{document}
```

[Öffnen Sie dieses Beispiel in Overleaf](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=Change+LaTeX+fonts\&snip=%5Cdocumentclass%7Barticle%7D%0A%5Cusepackage%5BT1%5D%7Bfontenc%7D%0A%5Cusepackage%7Btgbonum%7D%0A%0A%5Cbegin%7Bdocument%7D%0AThis+document+is+a+sample+document+to+%0Atest+font+families+and+font+typefaces.%0A%0A%7B%5Cfontfamily%7Bqcr%7D%5Cselectfont%0AThis+text+uses+a+different+font+typeface%0A%7D%0A%5Cend%7Bdocument%7D)

Das folgende Bild zeigt die Ausgabe des obigen Beispiels:

![FontTypefacesEx2.png](/files/6ad67bb07cec18c1db2b50fd8082556c1dcbd39f)

Der Befehl `\fontfamily{qcr}\selectfont` setzt die *TeX Gyre Cursor* Schriftart, deren Fontcode `qcr`, für den Text innerhalb der geschweiften Klammern. Es sind viele weitere LaTeX-Schriftarten verfügbar, siehe die [Referenzleitfaden](#reference-guide).

Die gängigen LaTeX-Schriftarten stammen aus vier Familien:

* *Computer Modern* (Standard in den Standard-LaTeX-Klassen): CM Roman, CM Sans Serif, CM Typewriter
* *Latin Modern*: LM Roman, LM Sans Serif, LM Typewriter, LM Dunhill
* *PostScript-Schriften*: Times, Utopia/Fourier, Palatino, Bookman, Helvetica, Courier
* *TeX Gyre*

## Referenzleitfaden

**Schriftarten Roman, Sans Serif und Typewriter**

| Schrift                      | "Name des Schriftpakets" | "Schriftcode" | Beispiel                                                              |
| ---------------------------- | ------------------------ | ------------- | --------------------------------------------------------------------- |
| Computer Modern Roman        |                          | `cmr`         | ![Typeface-cmr.png](/files/c6c9a7038924baa4465052513bd4f1a5d4449dcc)  |
| Latin Modern Roman           | `lmodern`                | `lmr`         | ![Typeface-lmr.png](/files/fe8ffe25f9b2c2e172ec858e48d5a28d9f470d47)  |
| Latin Modern Dunhill         | `lmodern`                | `lmdh`        | ![Typeface-lmdh.png](/files/49f690056855adf6b0bdf976fa888dcf2d044dda) |
| TeX Gyre Termes              | `tgtermes`               | `qtm`         | ![Typeface-qtm.png](/files/37b8aa970a315672fec5fc957b50c2b40bf3d234)  |
| TeX Gyre Pagella             | `tgpagella`              | `qpl`         | ![Typeface-qpl.png](/files/9cb82bfab4633227cc92ec2ebf2e72554d8f21d2)  |
| TeX Gyre Bonum               | `tgbonum`                | `qbk`         | ![Typeface-qbk.png](/files/eef4dd11a455bdb9527cdc6c142e621caff5ed52)  |
| TeX Gyre Schola              | `tgschola`               | `qcs`         | ![Typeface-qsc.png](/files/66ac4c5d8a29830061596903a86e2adb90d0c14f)  |
| Times                        | `mathptmx`               | `ptm`         | ![Typeface-ptm.png](/files/ab0173fbe4a839cc657349f19c9d8bdd583f5a22)  |
| Utopia / Fourier             | `utopia` / `fourier`     | `put`         | ![Typeface-put.png](/files/6aa88a12e93bcc0c0d3b6af32546b0a3d2f1edfb)  |
| Palatino                     | `palatino`               | `ppl`         | ![Typeface-ppl.png](/files/eb090e8a754bfee5c615d184ce323c0e5777d486)  |
| Bookman                      | `bookman`                | `pbk`         | ![Typeface-pbk.png](/files/332e501c5c5e731acf0fdb7a937e731b2bd56c95)  |
| Charter                      | `charter`                | `bch`         | ![Typeface-bch.png](/files/f83a6b19a002d05533b438d757f9b3510ca560bb)  |
| Computer Modern Sans Serif   |                          | `cmss`        | ![Typeface-cmss.png](/files/ee8ace03dad8ebe875a68b3e12b870b03d70567c) |
| Latin Modern Sans Serif      | `lmodern`                | `lmss`        | ![Typeface-lmss.png](/files/ebc08b722db49500b8f3f08b383e373b38bef18d) |
| TeX Gyre Adventor            | `tgadventor`             | `qag`         | ![Typeface-qag.png](/files/f2972d1639d390341af27520ccfeebfe2237273b)  |
| TeX Gyre Heros               | `tgheros`                | `qhv`         | ![Typeface-qhv.png](/files/9fc828000893fee26b5d66ee28397673f20186a6)  |
| Helvetica                    | `helvet`                 | `phv`         | ![Typeface-phv.png](/files/efb604c86df6931fb4f67f6c6230cf113b09ec7c)  |
| Computer Modern Typewriter   |                          | `cmtt`        | ![Typeface-cmtt.png](/files/0a94dcdddc2d44b628831036eb8dd0b50acbc5da) |
| Latin Modern Sans Typewriter | `lmodern`                | `lmtt`        | ![Typeface-lmtt.png](/files/e25374422bfbc61220295bfa1b6f67c5b0d90c01) |
| TeX Gyre Cursor              | `tgcursor`               | `qcr`         | ![Typeface-qcr.png](/files/8c7f826bd70afc2e4aea939e133deceda8645c0a)  |
| Courier                      | `courier`                | `pcr`         | ![Typeface-pcr.png](/files/3bd87b45797bd2f93f1cf8778c0e7423fa8492b2)  |

Siehe auch [Der LaTeX-Schriftkatalog](https://tug.org/FontCatalogue/), allerdings sind nicht alle im Katalog aufgeführten Schriftarten mit einer Lizenz versehen, die ihre Verteilung als Teil von TeX Live erlaubt, und daher sind nicht alle diese Schriftarten in Overleaf verfügbar.

## Weiterführende Literatur

Weitere Informationen finden Sie unter:

* [Der LaTeX-Schriftkatalog](https://tug.org/FontCatalogue/).
* [Fett, kursiv und Unterstreichung](/latex/de/latex-grundlagen/03-bold-italics-and-underlining.md)
* [Schriftgrößen, Schriftenfamilien und Stile](/latex/de/schriftarten/01-font-sizes-families-and-styles.md)
* [Moderne Schriftarten mit XeLaTeX unterstützen](/latex/de/schriftarten/03-xelatex.md)
* [Absatzformatierung](/latex/de/formatierung/04-articles-how-to-change-paragraph-spacing-in-latex.md)
* [Zeilenumbrüche und Leerzeichen](/latex/de/formatierung/05-line-breaks-and-blank-spaces.md)
* [Mehrere Spalten](/latex/de/formatierung/09-multiple-columns.md)
* [Einseitige und zweiseitige Dokumente](/latex/de/formatierung/08-single-sided-and-double-sided-documents.md)
* [Verwaltung in einem großen Projekt](/latex/de/dokumentstruktur/07-management-in-a-large-project.md)
* [LaTeX-Projekte mit mehreren Dateien](/latex/de/dokumentstruktur/08-multi-file-latex-projects.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/de/schriftarten/02-font-typefaces.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.
