Compare commits

..

No commits in common. "a3f8c42fe7616acbfb473dd6aeeff44eb4ed4743" and "ae16274095b1a2552fad2c6d39367f474af5860c" have entirely different histories.

4 changed files with 90 additions and 89 deletions

View File

@ -110,6 +110,27 @@ In eckigen Klammern können verschieden viele optionale Parameter stehen:
% 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)

View File

@ -110,6 +110,27 @@ Square brackets may contain different numbers of optional parameters:
% 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)

View File

@ -180,28 +180,6 @@ nichts verloren.
![](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)
@category
@ -258,6 +236,29 @@ 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
@ -321,6 +322,7 @@ Verzeichnisse
```
* 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*{}`.
* **am besten zweimal kompilieren**
@ -379,28 +381,6 @@ Dokument und Text gliedern
* 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)

View File

@ -180,28 +180,6 @@ within continuous text.
![](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)
@category
@ -258,6 +236,29 @@ 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
@ -321,6 +322,7 @@ Registers
```
* automatic numbering
* very configurable (enumeration characters and depth, automatic naming, …)
* elements with an asterisk (`*`) are hidden from the register: e.&thinsp;g. `\section*{}`.
* **generally requires two rounds of compilation**
@ -378,29 +380,6 @@ Structure your document and text
* 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)
@title