Reformulate spaces section

This commit is contained in:
Knoch 2022-09-26 11:22:19 +02:00
parent d0b28f79fb
commit 550e2dea16
2 changed files with 7 additions and 8 deletions

View File

@ -13,10 +13,8 @@ Sonderzeichen
Leerzeichen
@content
* normale Wortzwischenräume: <kbd>Leertaste</kbd>
* geschütztes Leerzeichen: `~`
* schmales Leerzeichen: `\,`
* viele weitere Breiten verfügbar
* Nutzt schmale Leerzeichen (`\,`) und geschützte Leerzeichen (`~`) an den geeigneten Stellen.
``` {.hljs .lang-tex}
Schmale Leerzeichen werden z.\,B. in
@ -28,6 +26,8 @@ dabei helfen, Titel und Namen in
einer Zeile zu halten: Dr.~Fooboar.
```
* ++ Nutzt French Spacing (`\frenchspacing`), um riesige Freiräume nach Satzzeichen zu verhindern.
@preview
![](svg/chapter-05/leerzeichen-crop.svg)

View File

@ -13,10 +13,7 @@ Special characters
Spaces
@content
* normal space dividing words: <kbd>space bar</kbd>
* non-breaking space: `~`
* thin space: `\,`
* many other widths available
* Use thin spaces (`\,`) and non-breaking spaces (`~`), where appropriate.
``` {.hljs .lang-tex}
Thin spaces are used in abbreviations
@ -26,6 +23,8 @@ keep honorary titles and names on one
line: Dr.~Fooboar.
```
* ++ Use french spacing (`\frenchspacing`) to avoid giant gaps after full stops.
@preview
![](svg/chapter-05/spaces-crop.svg)