mirror of
https://gitlab.gwdg.de/j.hahn02/university.git
synced 2026-01-01 06:44:25 -05:00
updates
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user