> 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/nl/latex-fouten/11-latex-error-mathrm-allowed-only-in-math-mode.md).

# LaTeX-fout: \mathrm alleen toegestaan in wiskundemodus

Deze fout verschijnt wanneer we een lettertype in tekstmodus gebruiken dat alleen in wiskundige modus is toegestaan. Wanneer je zulke lettertypen gebruikt, zorg er dan voor dat je ze tussen dollartekens plaatst als `$...$`. Om meer te weten te komen over wiskundige lettertypen, kun je gerust onze [documentatie](/latex/nl/wiskunde/12-mathematical-fonts.md). Een lijst van zulke lettertypen, met hun bijbehorende pakketten, wordt hieronder weergegeven

|                  |                                                                                                                                                                                                                                                                                    |
| ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| \mathnormal{...} | Dit is het standaard cursieve lettertype in het wiskundige cursieve lettertype. `$\mathnormal{Hallo wereld}$` geeft hetzelfde resultaat als `$Hallo wereld$`.                                                                                                                      |
| \mathrm{...}     | Dit is het standaard Romeinse tekstlettertype.                                                                                                                                                                                                                                     |
| \mathbf{...}     | Dit geeft vette letters in de wiskundige modus.                                                                                                                                                                                                                                    |
| \mathcal{...}    | Dit is een speciaal kalligrafisch lettertype in de wiskundige modus. Het kan alleen voor hoofdletters worden gebruikt, bijvoorbeeld voor het aanduiden van reële getallen. `\mathcal{R}` zal ℝ geven.                                                                              |
| \mathsf{...}     | Dit geeft schreefloze letters in de wiskundige modus.                                                                                                                                                                                                                              |
| \mathit{...}     | Dit geeft tekst-cursieve letters. Deze kunnen verschillen van wiskundige cursieve letters, afhankelijk van de specifieke gebruikte klasse.                                                                                                                                         |
| \mathtt{...}     | Dit geeft rechtopstaande letters uit het gebruikte typemachine-lettertype.                                                                                                                                                                                                         |
| \mathbb{...}     | Dit biedt een "blackboard bold" lettertype voor hoofdletters. Het [**`amsfonts`**](https://www.ctan.org/pkg/amsfonts?lang=en) pakket of equivalent Het [**`amssymb`**](https://www.ctan.org/pkg/amssymb?lang=en) pakket moet worden geladen om dit lettertype te gebruiken.        |
| \mathfrak{...}   | Dit biedt gotische letters in zowel hoofdletters als kleine letters. Het [**`amsfonts`**](https://www.ctan.org/pkg/amsfonts?lang=en) pakket of equivalent Het [**`amssymb`**](https://www.ctan.org/pkg/amssymb?lang=en) pakket moet worden geladen om dit lettertype te gebruiken. |
| euscript         | De [**`euscript`**](http://tug.ctan.org/fonts/amsfonts/doc/euscript.pdf) pakket biedt ons nog een ander kalligrafisch alfabet, genaamd Euler script.                                                                                                                               |

**Tekst-equivalenten van de bovenstaande wiskundige lettertypen:**

| Lettertype voor wiskundige modus | Tekst-equivalent                          |
| -------------------------------- | ----------------------------------------- |
| \mathnormal{...}                 | \textit{...}.                             |
| \mathrm{...}                     | \text{...}                                |
| \mathbf{...}                     | \textbf{...}.                             |
| \mathcal{...}                    | Geen equivalent lettertype in tekstmodus. |
| \mathsf{...}                     | \textsf{...}.                             |


---

# 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/nl/latex-fouten/11-latex-error-mathrm-allowed-only-in-math-mode.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.
