Compare commits

...

4 Commits

Author SHA1 Message Date
a3f8c42fe7 Move comments slide 2022-09-26 12:14:31 +02:00
8482678dea Switch sections 2022-09-26 12:10:03 +02:00
bd542885ef Move headline configuration to extra 2022-09-26 12:09:07 +02:00
6cc9ddd848 Remove configuration allusion 2022-09-26 12:05:18 +02:00
4 changed files with 89 additions and 90 deletions

View File

@ -110,27 +110,6 @@ In eckigen Klammern können verschieden viele optionale Parameter stehen:
% bindet das Bild "bild.png" ein % bindet das Bild "bild.png" ein
``` ```
@slide(layout=content-and-preview)
@title
Kommentare
@content
Nach einem Prozentzeichen wird der Rest der Zeile vom Compiler ignoriert. Der Kommentartext erscheint also nicht im fertigen Dokument.
``` {.lang-tex .hljs}
% Beginn Steckbrief
Name: Donald Knuth \\
Geburtsdatum: \\ % TODO: einfügen
Geburtsort: Milwaukee, Wisconsin
% Ende Steckbrief
```
Tastenkombinationen: <kbd>Strg</kbd> + <kbd>T</kbd> und <kbd>Strg</kbd> + <kbd>U</kbd>
@preview
![](svg/chapter-02/kommentare-crop.svg)
@slide(layout=content-only) @slide(layout=content-only)

View File

@ -110,27 +110,6 @@ Square brackets may contain different numbers of optional parameters:
% embeds the image file "image.png" % embeds the image file "image.png"
``` ```
@slide(layout=content-and-preview)
@title
Comments
@content
After a percent sign, the rest of the line is ignored by the compiler. It is called a comment and does not appear in the resulting document.
``` {.lang-tex .hljs}
% profile start
Name: Donald Knuth \\
Date of birth: \\ % TODO: insert
Place of birth: Milwaukee, Wisconsin
% profile end
```
Shortcuts: <kbd>Ctrl</kbd> + <kbd>T</kbd> and <kbd>Ctrl</kbd> + <kbd>U</kbd>
@preview
![](svg/chapter-02/comments-crop.svg)
@slide(layout=content-only) @slide(layout=content-only)

View File

@ -180,6 +180,28 @@ nichts verloren.
![](svg/chapter-03/absätze-crop.svg) ![](svg/chapter-03/absätze-crop.svg)
@slide(layout=content-and-preview)
@title
Kommentare
@content
Nach einem Prozentzeichen wird der Rest der Zeile vom Compiler ignoriert. Der Kommentartext erscheint also nicht im fertigen Dokument.
``` {.lang-tex .hljs}
% Beginn Steckbrief
Name: Donald Knuth \\
Geburtsdatum: \\ % TODO: einfügen
Geburtsort: Milwaukee, Wisconsin
% Ende Steckbrief
```
Tastenkombinationen: <kbd>Strg</kbd> + <kbd>T</kbd> und <kbd>Strg</kbd> + <kbd>U</kbd>
@preview
![](svg/chapter-02/kommentare-crop.svg)
@slide(layout=content-and-preview-with-category) @slide(layout=content-and-preview-with-category)
@category @category
@ -236,29 +258,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
@ -322,7 +321,6 @@ Verzeichnisse
``` ```
* Nummerierung erfolgt automatisch * Nummerierung erfolgt automatisch
* viele Anpassungsmöglichkeiten (Aufzählungszeichen und -tiefe, automatische Benennung, …)
* Elemente, die nicht im Verzeichnis aufgeführt werden sollen, werden mit einem »`*`« versehen, also z.&thinsp;B. `\section*{}`. * Elemente, die nicht im Verzeichnis aufgeführt werden sollen, werden mit einem »`*`« versehen, also z.&thinsp;B. `\section*{}`.
* **am besten zweimal kompilieren** * **am besten zweimal kompilieren**
@ -381,6 +379,28 @@ Dokument und Text gliedern
* Fügt anschließend ein **Inhaltsverzeichnis** in euer Dokument ein. * Fügt anschließend ein **Inhaltsverzeichnis** in euer Dokument ein.
@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)
@slide(layout=content-only) @slide(layout=content-only)

View File

@ -180,6 +180,28 @@ within continuous text.
![](svg/chapter-03/paragraphs-crop.svg) ![](svg/chapter-03/paragraphs-crop.svg)
@slide(layout=content-and-preview)
@title
Comments
@content
After a percent sign, the rest of the line is ignored by the compiler. It is called a comment and does not appear in the resulting document.
``` {.lang-tex .hljs}
% profile start
Name: Donald Knuth \\
Date of birth: \\ % TODO: insert
Place of birth: Milwaukee, Wisconsin
% profile end
```
Shortcuts: <kbd>Ctrl</kbd> + <kbd>T</kbd> and <kbd>Ctrl</kbd> + <kbd>U</kbd>
@preview
![](svg/chapter-02/comments-crop.svg)
@slide(layout=content-and-preview-with-category) @slide(layout=content-and-preview-with-category)
@category @category
@ -236,29 +258,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
@ -322,7 +321,6 @@ Registers
``` ```
* automatic numbering * automatic numbering
* very configurable (enumeration characters and depth, automatic naming, …)
* elements with an asterisk (`*`) are hidden from the register: e.&thinsp;g. `\section*{}`. * elements with an asterisk (`*`) are hidden from the register: e.&thinsp;g. `\section*{}`.
* **generally requires two rounds of compilation** * **generally requires two rounds of compilation**
@ -380,6 +378,29 @@ Structure your document and text
* Add a **table of contents** to your document. * Add a **table of contents** to your document.
@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)
@slide(layout=content-only) @slide(layout=content-only)
@title @title