mirror of
https://gitlab.gwdg.de/j.hahn02/university.git
synced 2026-01-01 06:44:25 -05:00
more refactor
central pdf dir
This commit is contained in:
55
data/theorems.typ
Normal file
55
data/theorems.typ
Normal file
@@ -0,0 +1,55 @@
|
||||
#import "@preview/ctheorems:1.1.3": *
|
||||
|
||||
// What is this for?
|
||||
// #show: thmrules.with(qed-symbol: $square$)
|
||||
// Use this to format the size: inset: (x: 1.2em, top: 1em, bottom: 1em)
|
||||
|
||||
// TODO: fix the alignment
|
||||
// TODO: make the numbering good dnd manual and insert the title at the top (from the first line)
|
||||
|
||||
#let theorem = thmbox( //tem
|
||||
"theorem",
|
||||
"Theorem",
|
||||
fill: rgb("#eeffdd")
|
||||
).with(
|
||||
numbering: none
|
||||
)
|
||||
#let corollary = thmplain( //cor
|
||||
"corollary",
|
||||
"Corollary",
|
||||
base: "theorem",
|
||||
titlefmt: strong
|
||||
)
|
||||
#let definition = thmbox( //def
|
||||
"definition",
|
||||
"Definition",
|
||||
fill: rgb("#eedebb")
|
||||
)
|
||||
#let example = thmplain( //exa
|
||||
"example",
|
||||
"Example"
|
||||
).with(
|
||||
numbering: none
|
||||
)
|
||||
#let proof = thmproof( //pro
|
||||
"proof",
|
||||
"Proof"
|
||||
)
|
||||
#let remark = thmbox( //rem
|
||||
"remark",
|
||||
"Remark"
|
||||
)
|
||||
#let axiom = thmbox( //axi
|
||||
"axiom",
|
||||
"Axiom"
|
||||
)
|
||||
#let lemma = thmbox( //lem
|
||||
"lemma",
|
||||
"Lemma",
|
||||
fill: rgb("#cddfff")
|
||||
)
|
||||
#let note = thmbox( //nte
|
||||
"note",
|
||||
"Note"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user