Compare commits
4 Commits
ae16274095
...
a3f8c42fe7
| Author | SHA1 | Date | |
|---|---|---|---|
| a3f8c42fe7 | |||
| 8482678dea | |||
| bd542885ef | |||
| 6cc9ddd848 |
@ -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
|
|
||||||

|
|
||||||
|
|
||||||
|
|
||||||
@slide(layout=content-only)
|
@slide(layout=content-only)
|
||||||
|
|
||||||
|
|||||||
@ -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
|
|
||||||

|
|
||||||
|
|
||||||
|
|
||||||
@slide(layout=content-only)
|
@slide(layout=content-only)
|
||||||
|
|
||||||
|
|||||||
@ -180,6 +180,28 @@ 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
|
||||||
@ -236,29 +258,6 @@ 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
|
||||||
@ -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. 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**
|
||||||
|
|
||||||
@ -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
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
@slide(layout=content-only)
|
@slide(layout=content-only)
|
||||||
|
|
||||||
|
|||||||
@ -180,6 +180,28 @@ 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
|
||||||
@ -236,29 +258,6 @@ 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
|
||||||
@ -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. 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**
|
||||||
|
|
||||||
@ -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
|
||||||
|

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