Compare commits
No commits in common. "a3f8c42fe7616acbfb473dd6aeeff44eb4ed4743" and "ae16274095b1a2552fad2c6d39367f474af5860c" have entirely different histories.
a3f8c42fe7
...
ae16274095
@ -110,6 +110,27 @@ 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
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
@slide(layout=content-only)
|
@slide(layout=content-only)
|
||||||
|
|
||||||
|
|||||||
@ -110,6 +110,27 @@ 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
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
@slide(layout=content-only)
|
@slide(layout=content-only)
|
||||||
|
|
||||||
|
|||||||
@ -180,28 +180,6 @@ nichts verloren.
|
|||||||

|

|
||||||
|
|
||||||
|
|
||||||
@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
|
|
||||||

|
|
||||||
|
|
||||||
|
|
||||||
@slide(layout=content-and-preview-with-category)
|
@slide(layout=content-and-preview-with-category)
|
||||||
|
|
||||||
@category
|
@category
|
||||||
@ -258,6 +236,29 @@ Je nach Dokumentenklasse zusätzlich:
|
|||||||

|

|
||||||
|
|
||||||
|
|
||||||
|
@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
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
@slide(layout=wide-content)
|
@slide(layout=wide-content)
|
||||||
|
|
||||||
@title
|
@title
|
||||||
@ -321,6 +322,7 @@ 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. B. `\section*{}`.
|
* Elemente, die nicht im Verzeichnis aufgeführt werden sollen, werden mit einem »`*`« versehen, also z. B. `\section*{}`.
|
||||||
* **am besten zweimal kompilieren**
|
* **am besten zweimal kompilieren**
|
||||||
|
|
||||||
@ -379,28 +381,6 @@ 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
|
|
||||||

|
|
||||||
|
|
||||||
|
|
||||||
@slide(layout=content-only)
|
@slide(layout=content-only)
|
||||||
|
|
||||||
|
|||||||
@ -180,28 +180,6 @@ within continuous text.
|
|||||||

|

|
||||||
|
|
||||||
|
|
||||||
@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
|
|
||||||

|
|
||||||
|
|
||||||
|
|
||||||
@slide(layout=content-and-preview-with-category)
|
@slide(layout=content-and-preview-with-category)
|
||||||
|
|
||||||
@category
|
@category
|
||||||
@ -258,6 +236,29 @@ Additionally, for some document classes:
|
|||||||

|

|
||||||
|
|
||||||
|
|
||||||
|
@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
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
@slide(layout=wide-content)
|
@slide(layout=wide-content)
|
||||||
|
|
||||||
@title
|
@title
|
||||||
@ -321,6 +322,7 @@ Registers
|
|||||||
```
|
```
|
||||||
|
|
||||||
* automatic numbering
|
* automatic numbering
|
||||||
|
* very configurable (enumeration characters and depth, automatic naming, …)
|
||||||
* elements with an asterisk (`*`) are hidden from the register: e. g. `\section*{}`.
|
* elements with an asterisk (`*`) are hidden from the register: e. g. `\section*{}`.
|
||||||
* **generally requires two rounds of compilation**
|
* **generally requires two rounds of compilation**
|
||||||
|
|
||||||
@ -378,29 +380,6 @@ 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
|
|
||||||

|
|
||||||
|
|
||||||
|
|
||||||
@slide(layout=content-only)
|
@slide(layout=content-only)
|
||||||
|
|
||||||
@title
|
@title
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user