Add first version of workshop slides
This commit is contained in:
parent
0739d26c9e
commit
a57fda18c1
45 changed files with 879 additions and 0 deletions
27
chapters/graphics-floats.typ
Normal file
27
chapters/graphics-floats.typ
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
#import "/globals.typ": *
|
||||
|
||||
= Abbildungen und Gleitobjekte
|
||||
|
||||
#slide(title: [Abbildungen und Graphiken])[
|
||||
- Einbinden mit `#image("/path/to/file")` (mit Dateiendung)
|
||||
- Dateipfad mit `/` am Anfang: vom Projektverzeichnis aus
|
||||
- ohne `/`: vom Verzeichnis der aktuellen Datei aus
|
||||
- folgende Formate sind möglich: `png`, `jpg`, `gif`, `svg`, `pdf`, `webp`
|
||||
#v(1em)
|
||||
- Höhe und Breite optionale Parameter
|
||||
- Standard ist `auto`, das Bild wird an den zur Verfügung stehenden Platz angepasst
|
||||
- kann auch relativ angegeben werden
|
||||
- `#image("/path/to/file", width: 80%)`
|
||||
]
|
||||
|
||||
#slide(title: [Graphiken als Gleitobjekt])[
|
||||
#show-code-render("image-float.typ")
|
||||
]
|
||||
|
||||
#slide(title: [Gleitobjekte])[
|
||||
- können für Graphiken, Tabellen, Codelistings, etc. verwendet werden
|
||||
- immer mit `#figure()` eingeleitet
|
||||
- der `body` ist dann unterschiedlich
|
||||
- automatische Positionierung im Text
|
||||
- Platzierungsalgorithmus nicht ganz so gut wie in #LaTeX
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue