Replace \mathrm by \text
This commit is contained in:
parent
4f01114846
commit
aab3638036
@ -110,7 +110,7 @@ Setzt die folgenden Formeln in der Datei `exercises/maths/math-formulas.tex`.
|
||||
| Bedeutung | Ergebnis |
|
||||
|-----------|----------|
|
||||
| Definition der Fakultät | $n! = \prod_{i=1}^{n} i$ |
|
||||
| Menge aller ungeraden natürlichen Zahlen | $\{ x \mid x \in \mathbb{N}, \mathrm{ungerade}(x) \}$ |
|
||||
| Menge aller ungeraden natürlichen Zahlen | $\{ x \mid x \in \mathbb{N}, \text{ungerade}(x) \}$ |
|
||||
| Elimination $\neg\exists x$ | $\neg\exists x . p(x) \Leftrightarrow \forall x . \neg p(x)$ |
|
||||
|
||||
|
||||
@ -218,11 +218,11 @@ Mengenschreibweise
|
||||
@content
|
||||
Manchmal ist es notwendig, im Zusammenhang mit der Mengenschreibweise Prädikate unter Verwendung von textuellen Beschreibungen oder längeren Funktionsnamen zu definieren.
|
||||
|
||||
Für diesen Fall gibt es den Befehl `\mathrm{}`.
|
||||
Für diesen Fall gibt es den Befehl `\text{}`.
|
||||
|
||||
<p style="text-align: center;">$\left\lbrace x \mid tiefe(x) \geq 20\right\rbrace$</p>
|
||||
<p style="text-align: center;">$\left\lbrace x \mid \mathrm{tiefe}(x) \geq 20\right\rbrace$</p>
|
||||
<p style="text-align: center;">$\left\lbrace x \mid \text{tiefe}(x) \geq 20\right\rbrace$</p>
|
||||
|
||||
``` {.lang-tex .hljs}
|
||||
$\left\lbrace x \mid \mathrm{tiefe}(x) …
|
||||
$\left\lbrace x \mid \text{tiefe}(x) …
|
||||
```
|
||||
@ -113,7 +113,7 @@ Code up the following formulas in the file `exercises/maths/math-formulas.tex`.
|
||||
| Meaning | Result |
|
||||
|---------|--------|
|
||||
| Definition of factorial | $n! = \prod_{i=1}^{n} i$ |
|
||||
| Set of all odd natural numbers | $\{ x \mid x \in \mathbb{N}, \mathrm{odd}(x) \}$ |
|
||||
| Set of all odd natural numbers | $\{ x \mid x \in \mathbb{N}, \text{odd}(x) \}$ |
|
||||
| Elimination $\neg\exists x$ | $\neg\exists x . p(x) \Leftrightarrow \forall x . \neg p(x)$ |
|
||||
|
||||
|
||||
@ -223,11 +223,11 @@ Set-builder notation
|
||||
@content
|
||||
In certain situations, it is more adequate to use textual predicates or long function names within the set builder notation.
|
||||
|
||||
This is where `\mathrm{}` comes into play.
|
||||
This is where `\text{}` comes into play.
|
||||
|
||||
<p style="text-align: center;">$\left\lbrace x \mid frequency(x) \geq 20\right\rbrace$</p>
|
||||
<p style="text-align: center;">$\left\lbrace x \mid \mathrm{frequency}(x) \geq 20\right\rbrace$</p>
|
||||
<p style="text-align: center;">$\left\lbrace x \mid \text{frequency}(x) \geq 20\right\rbrace$</p>
|
||||
|
||||
``` {.lang-tex .hljs .fragment}
|
||||
$\left\lbrace x \mid \mathrm{frequency} …
|
||||
$\left\lbrace x \mid \text{frequency} …
|
||||
```
|
||||
Loading…
x
Reference in New Issue
Block a user