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) ![](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) @slide(layout=wide-content)
@title @title
@ -394,3 +371,26 @@ Nur so kann eure Lösung auch ins Skript eingebunden werden (Schnelles Auskommen
</div> </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) ![](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) @slide(layout=wide-content)
@title @title
@ -392,3 +369,26 @@ Only this way, your solution can be embedded in the script itself. (In TeXstudio
</div> </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)