This commit is contained in:
2025-05-09 08:27:01 +02:00
parent 0d05c8ceb9
commit b44739baee
27 changed files with 648 additions and 89 deletions

View File

@@ -3,7 +3,7 @@
#import "@preview/equate:0.2.1": equate
#import "@preview/quick-maths:0.2.1": shorthands
#import "./theorems.typ": *
//#import "./theorems.typ": *
#let default(body) = {
// page setup

View File

@@ -1,9 +1,21 @@
// Main VL Template
// Main VL template
#import "../preamble.typ": *
// Fix theorems to be shown the right way in this document
#import "@preview/ctheorems:1.1.3": *
#show: thmrules
// Main settings call
#show: conf.with(
// May add more flags here in the future
num: 1
num: 5,
type: 0, // 0 normal, 1 exercise
date: datetime.today().display(),
//date: datetime(
// year: 2025,
// month: 5,
// day: 1,
//).display(),
)
= Uebersicht

View File

@@ -10,6 +10,7 @@
// What is this for?
#show: thmrules
// Use this to format the size: inset: (x: 1.2em, top: 1em, bottom: 1em)
// TODO: fix the alignment
@@ -20,6 +21,7 @@
// "base",
//)
// Global baselevel for the boxes
#let BASE_LEVEL = 0
#let theorem = thmbox( //tem
@@ -47,13 +49,12 @@
"definition",
"Definition",
base_level: BASE_LEVEL,
fill: rgb("#eedebb"),
fill: rgb("#efdebf99"),
bodyfmt: body => [
#body #h(1fr)
]
)
#let axiom = thmbox( //axi
"axiom",
"Axiom",