#import "/globals.typ": *
#import "@preview/codly:1.3.0": *
#import "@preview/codly-languages:0.1.1": *

#set text(
  lang: "de",
  font: "Fira Sans",
)
#show link: set text(blue)
#set list(marker:([•], [◦], [--]))

#set table(stroke: (x, y) => (
  left: if x > 0 { 0.8pt },
  top: if y > 0 { 0.8pt },
))
#set raw(lang: "typ")
#show: codly-init.with()
#codly(languages: codly-languages)
#codly-disable()

#show outline.entry: it => link(
  it.element.location(),
  it.indented(it.prefix(), text(black, it.body())),
)

#show: metropolis-theme.with(
  aspect-ratio: "16-9",
  footer-right: [],
  config-info(
    title: [WYSIWYAF with typst],
    subtitle: [Einstieg in wissenschaftliche Arbeiten mit typst],
    author: [Julius Freudenberger],
    date: [Cyberweek Wintersemester 2025/2026],
    institution: [Hochschule Esslingen],
  ),
)

#title-slide()

#include "chapters/what-is-needed.typ"

#include "chapters/about-me.typ"

#include "chapters/introduction.typ"

= Inhalt <touying:hidden>
#outline(title: none, depth: 2)

#include "chapters/what-is-typst.typ"

#include "chapters/typst-code.typ"

#include "chapters/own-changes.typ"

#include "chapters/writing-text.typ"

#include "chapters/math.typ"

#include "chapters/tables.typ"

#include "chapters/graphics-floats.typ"

#include "chapters/listings.typ"

#include "chapters/listofs.typ"

#include "chapters/formatting.typ"

#include "chapters/external-files.typ"

#include "chapters/closing.typ"

#title-slide()
