Move headline configuration to extra

This commit is contained in:
Knoch 2022-09-26 12:09:07 +02:00
parent 6cc9ddd848
commit bd542885ef
2 changed files with 48 additions and 48 deletions

View File

@ -236,29 +236,6 @@ Je nach Dokumentenklasse zusätzlich:
![](svg/chapter-03/abschnitte-crop.svg)
@slide(layout=content-and-preview)
@title
Abschnitte und Kapitel
@content
Mit Sternchen fallen bei allen diesen Befehlen die Nummerierung und der Eintrag im Inhaltsverzeichnis weg:
``` {.lang-tex .hljs}
\section*{Kein Verzeichniseintrag}
```
Außerdem kann für das Inhaltsverzeichnis ein alternativer Titel angegeben werden:
``` {.lang-tex .hljs}
\section[Titel im Verzeichnis]
{Kapitelüberschrift}
```
@preview
![](svg/chapter-03/abschnitte-anders-crop.svg)
@slide(layout=wide-content)
@title
@ -393,4 +370,27 @@ Bevor wir fortfahren können …
Nur so kann eure Lösung auch ins Skript eingebunden werden (Schnelles Auskommentieren kann in TeXstudio mit dem Shortcut <kbd>Strg</kbd> + <kbd>T</kbd> erreicht werden).
</div>
Im nächsten Kapitel erklären wir, warum das notwendig ist.
Im nächsten Kapitel erklären wir, warum das notwendig ist.
@slide(layout=extra-content-and-preview)
@title
Überschriften und das Inhaltsverzeichnis
@content
Mit Sternchen fallen bei allen diesen Befehlen die Nummerierung und der Eintrag im Inhaltsverzeichnis weg:
``` {.lang-tex .hljs}
\section*{Kein Verzeichniseintrag}
```
Außerdem kann für das Inhaltsverzeichnis ein alternativer Titel angegeben werden:
``` {.lang-tex .hljs}
\section[Titel im Verzeichnis]
{Kapitelüberschrift}
```
@preview
![](svg/chapter-03/abschnitte-anders-crop.svg)

View File

@ -236,29 +236,6 @@ Additionally, for some document classes:
![](svg/chapter-03/sections-crop.svg)
@slide(layout=content-and-preview)
@title
Sections and chapters
@content
With an asterisk, there is no numbering and no entry in the table of contents:
``` {.lang-tex .hljs}
\section*{No entry in table of contents}
```
You can also provide an alternative title for the table of contents:
``` {.lang-tex .hljs}
\section[Entry in table of contents]
{Actual chapter heading}
```
@preview
![](svg/chapter-03/sections-differently-crop.svg)
@slide(layout=wide-content)
@title
@ -391,4 +368,27 @@ Finally, **comment out** the preamble, the document environment, and the table o
Only this way, your solution can be embedded in the script itself. (In TeXstudio, comments can be achieved by the shortcut <kbd>Strg</kbd> + <kbd>T</kbd>.)
</div>
We will learn in the following chapter why this is the case.
We will learn in the following chapter why this is the case.
@slide(layout=extra-content-and-preview)
@title
Headlines and the table of contents
@content
With an asterisk, there is no numbering and no entry in the table of contents:
``` {.lang-tex .hljs}
\section*{No entry in table of contents}
```
You can also provide an alternative title for the table of contents:
``` {.lang-tex .hljs}
\section[Entry in table of contents]
{Actual chapter heading}
```
@preview
![](svg/chapter-03/sections-differently-crop.svg)