Files
university/S2/AnaMech/preamble.typ
2025-05-16 21:14:03 +02:00

21 lines
405 B
Typst

#import "../../data/default.typ": *
#import "../../data/theorems.typ": *
#let rot = math.op("rot")
#let grad = math.op("grad")
#let conf(num: none, date: "", type: none, body, ueb: false) = {
// Global settings
show: default
// Set the header
if (ueb == false) [AnaMech \ Vorlesung #(num)]
if (ueb == true) [AnaMech \ Uebung #(num)]
// Make the outline
outline()
// load the document
body
}