Initial commit
This commit is contained in:
18 files changed
+1852
No files matched your search
@@ -0,0 +1,144 @@
|
||||
#import "../theme.typ": colors, statement-colors
|
||||
|
||||
#let _box(header, body, color) = block(
|
||||
inset: 12pt,
|
||||
radius: 3pt,
|
||||
width: 100%,
|
||||
fill: rgb(..color, 10),
|
||||
stroke: (
|
||||
left: (paint: rgb(..color), thickness: 2pt),
|
||||
rest: (paint: rgb(..color, 155), thickness: 0.6pt),
|
||||
),
|
||||
breakable: false,
|
||||
[
|
||||
#text(rgb(..color))[#header] #body
|
||||
],
|
||||
)
|
||||
|
||||
#let _stmt(kind, body, color, label: [], nobreak: false) = context {
|
||||
let h = counter(heading).get()
|
||||
let x = if h.len() >= 1 { h.at(0) } else { 0 }
|
||||
let y = if h.len() >= 2 { h.at(1) } else { 0 }
|
||||
|
||||
let statement = counter(
|
||||
"statement-" + str(x) + "-" + str(y),
|
||||
)
|
||||
|
||||
let lbl = if label != [] { [ (#label)] } else { [] }
|
||||
let brk = if nobreak { "" } else { [\ ] }
|
||||
|
||||
[
|
||||
#statement.step()
|
||||
|
||||
#context {
|
||||
let mark = statement.display(
|
||||
z => numbering("1.1.1", x, y, z),
|
||||
)
|
||||
|
||||
_box(
|
||||
[*#kind #mark*#lbl*.* #brk],
|
||||
body,
|
||||
color,
|
||||
)
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
#let def(body, label: [], nobreak: false) = _stmt(
|
||||
"Definition",
|
||||
body,
|
||||
statement-colors.definition,
|
||||
label: label,
|
||||
nobreak: nobreak,
|
||||
)
|
||||
|
||||
#let axiom(body, label: [], nobreak: false) = _stmt(
|
||||
"Axiom",
|
||||
body,
|
||||
statement-colors.axiom,
|
||||
label: label,
|
||||
nobreak: nobreak,
|
||||
)
|
||||
|
||||
#let satz(body, label: [], nobreak: false) = _stmt(
|
||||
"Satz",
|
||||
body,
|
||||
statement-colors.theorem,
|
||||
label: label,
|
||||
nobreak: nobreak,
|
||||
)
|
||||
|
||||
#let lemma(body, label: [], nobreak: false) = _stmt(
|
||||
"Lemma",
|
||||
body,
|
||||
statement-colors.lemma,
|
||||
label: label,
|
||||
nobreak: nobreak,
|
||||
)
|
||||
|
||||
#let kor(body, label: [], nobreak: false) = _stmt(
|
||||
"Korollar",
|
||||
body,
|
||||
statement-colors.corollary,
|
||||
label: label,
|
||||
nobreak: nobreak,
|
||||
)
|
||||
|
||||
#let ex_box(
|
||||
body,
|
||||
heading: [],
|
||||
points: [],
|
||||
color: colors.accent,
|
||||
stroke-color: colors.stroke,
|
||||
text-color: colors.text,
|
||||
radius: 5pt,
|
||||
) = context {
|
||||
let background = color.lighten(95%)
|
||||
|
||||
let label-box = content => block(
|
||||
fill: white,
|
||||
stroke: stroke-color + 0.4pt,
|
||||
radius: radius * 0.75,
|
||||
inset: 5pt,
|
||||
text(text-color, content),
|
||||
)
|
||||
|
||||
let head = if heading != [] or points != [] {
|
||||
if heading != [] {
|
||||
let b = label-box(heading)
|
||||
place(dy: -measure(b).height / 2 - 12pt, b)
|
||||
}
|
||||
|
||||
if points != [] {
|
||||
let b = label-box(points)
|
||||
place(
|
||||
dy: -measure(b).height / 2 - 12pt,
|
||||
box(width: 100%, align(right)[#b]),
|
||||
)
|
||||
}
|
||||
|
||||
v(0.5em)
|
||||
} else { [] }
|
||||
|
||||
if head != [] { v(1em) }
|
||||
|
||||
block(
|
||||
fill: background,
|
||||
stroke: (
|
||||
left: color + 1.7pt,
|
||||
top: stroke-color + 0.4pt,
|
||||
right: stroke-color + 0.6pt,
|
||||
bottom: stroke-color + 0.6pt,
|
||||
),
|
||||
width: 100%,
|
||||
radius: radius,
|
||||
inset: 12pt,
|
||||
above: 12pt,
|
||||
below: 18pt,
|
||||
[
|
||||
#set enum(numbering: "(i)")
|
||||
#head
|
||||
#body
|
||||
],
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
#let _student-names(students) = {
|
||||
if type(students) == str {
|
||||
students
|
||||
} else {
|
||||
students.join(", ")
|
||||
}
|
||||
}
|
||||
|
||||
#let exercise-overview(exercises, students, tutor, col: black, border: gray, tutor-label: none) = {
|
||||
let text-color = col.darken(25%)
|
||||
let _s = 0.4pt + border
|
||||
|
||||
set par(justify: false)
|
||||
|
||||
grid(
|
||||
columns: (1fr, 1fr),
|
||||
column-gutter: 1em,
|
||||
stroke: (bottom: 0.5pt + text-color),
|
||||
inset: (y: 0.75em),
|
||||
align: bottom,
|
||||
grid(
|
||||
columns: 2,
|
||||
column-gutter: 1em,
|
||||
text(fill: text-color)[Name:], _student-names(students),
|
||||
),
|
||||
grid(
|
||||
columns: 2,
|
||||
column-gutter: 1em,
|
||||
text(fill: text-color)[#if tutor-label != none { tutor-label } else { [Tutor:] }], tutor,
|
||||
),
|
||||
)
|
||||
|
||||
let ex_cells = ()
|
||||
for i in range(1, exercises + 1) {
|
||||
ex_cells += (table.cell(stroke: (right: _s, bottom: _s))[A#i],)
|
||||
}
|
||||
|
||||
v(0.75cm)
|
||||
|
||||
set text(fill: text-color)
|
||||
table(
|
||||
columns: (1fr,) * (exercises + 1),
|
||||
align: center,
|
||||
stroke: none,
|
||||
..ex_cells,
|
||||
table.cell(stroke: (bottom: _s))[$Sigma$],
|
||||
..(table.cell(stroke: (right: _s), inset: (y: 0.75em))[],) * exercises,
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
#let custom-raw-syntaxes = (
|
||||
"../../assets/syntaxes/Pseudo.sublime-syntax",
|
||||
)
|
||||
|
||||
#let weekdays-short-de = ("Mo", "Di", "Mi", "Do", "Fr", "Sa", "So")
|
||||
#let months-de = (
|
||||
"Januar",
|
||||
"Februar",
|
||||
"März",
|
||||
"April",
|
||||
"Mai",
|
||||
"Juni",
|
||||
"Juli",
|
||||
"August",
|
||||
"September",
|
||||
"Oktober",
|
||||
"November",
|
||||
"Dezember",
|
||||
)
|
||||
|
||||
@@ -0,0 +1,68 @@
|
||||
#import "config.typ": months-de, weekdays-short-de
|
||||
#import "theme.typ": fonts
|
||||
|
||||
#let Cal(body) = math.class(
|
||||
"normal",
|
||||
text(font: fonts.cmu-math, math.cal(body)),
|
||||
)
|
||||
|
||||
#let Complement = math.class(
|
||||
"normal",
|
||||
text(font: fonts.cmu-math, math.complement),
|
||||
)
|
||||
|
||||
#let qed = [#h(1fr) $square$]
|
||||
#let jb = linebreak(justify: true)
|
||||
|
||||
#let chevrons(..children) = {
|
||||
let body = children.pos().join(", ")
|
||||
math.lr([$chevron.l #body chevron.r$])
|
||||
}
|
||||
|
||||
#let german-date-time(value) = [#{ weekdays-short-de.at(int(value.display("[weekday repr:monday]")) - 1) }.,
|
||||
#{ value.day() }. #{ months-de.at(int(value.display("[month]")) - 1) },
|
||||
#value.display("[hour]") Uhr]
|
||||
|
||||
#let group-digits-text(value, sep: sym.space.nobreak.narrow) = {
|
||||
let chars = value.clusters()
|
||||
let n = chars.len()
|
||||
|
||||
for (i, ch) in chars.enumerate() {
|
||||
if i > 0 and calc.rem(n - i, 3) == 0 {
|
||||
sep
|
||||
}
|
||||
ch
|
||||
}
|
||||
}
|
||||
|
||||
#let content-to-string(content) = {
|
||||
if type(content) == str {
|
||||
content
|
||||
} else if content.has("text") {
|
||||
if type(content.text) == str {
|
||||
content.text
|
||||
} else {
|
||||
content-to-string(content.text)
|
||||
}
|
||||
} else if content.has("children") {
|
||||
content.children.map(content-to-string).join("")
|
||||
} else if content.has("body") {
|
||||
content-to-string(content.body)
|
||||
} else if content == [] {
|
||||
" "
|
||||
}
|
||||
}
|
||||
|
||||
#let render-footnote-entry(entry, numbering-pattern: "[1]") = {
|
||||
let loc = entry.note.location()
|
||||
let mark = numbering(numbering-pattern + ":", ..counter(footnote).at(loc))
|
||||
|
||||
pad(left: entry.indent)[
|
||||
#grid(
|
||||
columns: (auto, 1fr),
|
||||
gutter: 0.3em,
|
||||
mark,
|
||||
entry.note.body,
|
||||
)
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,143 @@
|
||||
#import "../config.typ": custom-raw-syntaxes
|
||||
#import "../helpers.typ": content-to-string, render-footnote-entry
|
||||
#import "../theme.typ": base-theme, code-theme, colors, common-theme, end-message, smallcaps
|
||||
#import "../components/student-table.typ": exercise-overview
|
||||
|
||||
/// Base template for exercise sheets.
|
||||
#let base-template(
|
||||
sheetnumber,
|
||||
course,
|
||||
prof,
|
||||
assistant,
|
||||
exercises,
|
||||
students,
|
||||
tutor,
|
||||
tutor-label: none,
|
||||
sheet: [Exercise Sheet],
|
||||
logo: none,
|
||||
show-logo: true,
|
||||
page-numbering: common-theme.page-numbering,
|
||||
table-header-smallcaps: false,
|
||||
text-font: base-theme.text-font,
|
||||
math-font: base-theme.math-font,
|
||||
show-end-message: false,
|
||||
end-message: end-message,
|
||||
body,
|
||||
) = {
|
||||
assert.eq(type(exercises), int, message: "exercises must be an integer")
|
||||
assert(exercises > 0, message: "exercises must be a positive integer")
|
||||
|
||||
let ttl = sheet + if { sheetnumber < 10 } { " 0" } else { " " } + str(sheetnumber)
|
||||
|
||||
set document(
|
||||
title: ttl,
|
||||
description: course,
|
||||
author: students.map(content-to-string),
|
||||
date: datetime.today(),
|
||||
)
|
||||
|
||||
let font-size = base-theme.font-size
|
||||
|
||||
set page(
|
||||
numbering: page-numbering,
|
||||
header: context {
|
||||
if counter(page).get().first() > 1 [
|
||||
#set text(base-theme.header-size, weight: 450)
|
||||
#grid(
|
||||
columns: (2fr, 1fr, 2fr),
|
||||
align: (start, center, end),
|
||||
|
||||
course, text(fill: colors.text)[#ttl], (prof, assistant).join([#h(0.25em)·#h(0.25em)]),
|
||||
)
|
||||
#line(length: 100%, stroke: 0.4pt + colors.stroke)
|
||||
]
|
||||
},
|
||||
)
|
||||
|
||||
set par(..common-theme.paragraph)
|
||||
set text(font: text-font, size: font-size, lang: common-theme.lang)
|
||||
show math.equation: set text(font: math-font)
|
||||
|
||||
show heading.where(level: 1): set text(..base-theme.heading-1)
|
||||
show heading.where(level: 2): set text(..base-theme.heading-2)
|
||||
|
||||
show heading: set text(fill: colors.text)
|
||||
let first-h1 = state("first-h1", true)
|
||||
show heading.where(level: 1): it => {
|
||||
if first-h1.get() {
|
||||
first-h1.update(false)
|
||||
} else {
|
||||
// pagebreak(weak: true)
|
||||
}
|
||||
v(0.3em)
|
||||
it
|
||||
v(-0.9em)
|
||||
line(length: 100%, stroke: 0.4pt + colors.stroke)
|
||||
v(0.3em)
|
||||
}
|
||||
|
||||
set footnote(numbering: common-theme.footnote.numbering.note)
|
||||
set footnote.entry(
|
||||
indent: common-theme.footnote.indent,
|
||||
separator: line(length: 30% + 0pt, stroke: 0.4pt + colors.text),
|
||||
)
|
||||
show footnote.entry: it => render-footnote-entry(
|
||||
it,
|
||||
numbering-pattern: common-theme.footnote.numbering.text,
|
||||
)
|
||||
|
||||
set raw(syntaxes: custom-raw-syntaxes, tab-size: code-theme.tab-size, theme: code-theme.theme)
|
||||
|
||||
show raw: set text(
|
||||
font: code-theme.font,
|
||||
features: code-theme.features,
|
||||
size: font-size - code-theme.size-offset,
|
||||
)
|
||||
|
||||
show raw.where(block: true): box.with(..base-theme.raw-block)
|
||||
show raw.where(block: false): box.with(..code-theme.inline)
|
||||
|
||||
let logo-content = if not show-logo or logo == none {
|
||||
[]
|
||||
} else {
|
||||
logo
|
||||
}
|
||||
|
||||
show title: set text(fill: colors.text, weight: base-theme.title-weight)
|
||||
|
||||
[
|
||||
#grid(
|
||||
columns: (6fr, 1fr),
|
||||
align: (start + horizon, end + horizon),
|
||||
row-gutter: 0.25cm,
|
||||
[
|
||||
#title[#sheet #if sheetnumber < 10 { "0" };#sheetnumber]
|
||||
],
|
||||
logo-content,
|
||||
|
||||
grid.cell(
|
||||
colspan: 2,
|
||||
align: center,
|
||||
stroke: (y: 0.4pt + colors.stroke),
|
||||
inset: (y: 0.5cm),
|
||||
)[*#course* \ #(prof, assistant).join([#h(0.5em)·#h(0.5em)])],
|
||||
)
|
||||
|
||||
#exercise-overview(exercises, students, tutor, col: colors.accent, border: colors.stroke, tutor-label: tutor-label)
|
||||
]
|
||||
|
||||
show figure.where(kind: table): set block(breakable: true)
|
||||
|
||||
set table(..common-theme.table)
|
||||
|
||||
show table.cell.where(y: 0): it => if table-header-smallcaps { smallcaps(it) } else { it }
|
||||
|
||||
body
|
||||
|
||||
if show-end-message {
|
||||
v(1fr)
|
||||
|
||||
set text(size: 10pt)
|
||||
align(center)[#end-message]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,153 @@
|
||||
#import "../config.typ": custom-raw-syntaxes
|
||||
#import "../theme.typ": code-theme, common-theme, computer-science-theme, smallcaps
|
||||
#import "../helpers.typ": german-date-time, group-digits-text, render-footnote-entry
|
||||
|
||||
/// Computer science exercise sheet template.
|
||||
#let computer-science-template(
|
||||
sheetnumber: 0,
|
||||
subtitle: none,
|
||||
course,
|
||||
students,
|
||||
semester,
|
||||
university,
|
||||
institute,
|
||||
department: none,
|
||||
submit_until: none,
|
||||
testats_from: none,
|
||||
testats_until: none,
|
||||
group-digits: false,
|
||||
decimal-comma: false,
|
||||
page-numbering: common-theme.page-numbering,
|
||||
raw-syntaxes: custom-raw-syntaxes,
|
||||
info-text: none,
|
||||
text-font: computer-science-theme.text-font,
|
||||
math-font: computer-science-theme.math-font,
|
||||
table-header-smallcaps: false,
|
||||
no-pagebreak: false,
|
||||
body,
|
||||
) = {
|
||||
let font-size = computer-science-theme.font-size
|
||||
|
||||
set page(
|
||||
header: context {
|
||||
if counter(page).get().first() > 1 [
|
||||
#set text(computer-science-theme.header-size)
|
||||
#grid(
|
||||
columns: (3fr, 2fr, 3fr),
|
||||
align(start)[_#course _],
|
||||
align(center)[*Übungsblatt #sheetnumber*],
|
||||
align(end)[#students.map(((name, matrNr)) => name).join(", ")],
|
||||
)
|
||||
#line(length: 100%, stroke: 0.4pt + computer-science-theme.divider)
|
||||
]
|
||||
},
|
||||
numbering: page-numbering,
|
||||
)
|
||||
|
||||
set par(..common-theme.paragraph)
|
||||
set text(font: text-font, size: font-size, lang: common-theme.lang)
|
||||
show math.equation: set text(font: math-font)
|
||||
|
||||
let first-h1 = state("first-h1", true)
|
||||
show heading.where(level: 1): it => {
|
||||
if first-h1.get() {
|
||||
first-h1.update(false)
|
||||
} else {
|
||||
if (not no-pagebreak) {
|
||||
pagebreak(weak: true)
|
||||
}
|
||||
}
|
||||
it
|
||||
}
|
||||
|
||||
set footnote(numbering: common-theme.footnote.numbering.note)
|
||||
set footnote.entry(indent: common-theme.footnote.indent)
|
||||
show footnote.entry: it => render-footnote-entry(
|
||||
it,
|
||||
numbering-pattern: common-theme.footnote.numbering.text,
|
||||
)
|
||||
|
||||
set raw(syntaxes: raw-syntaxes, tab-size: code-theme.tab-size, theme: code-theme.theme)
|
||||
|
||||
show raw: set text(
|
||||
font: code-theme.font,
|
||||
features: code-theme.features,
|
||||
size: font-size - code-theme.size-offset,
|
||||
)
|
||||
|
||||
show raw.where(block: true): box.with(..computer-science-theme.raw-block)
|
||||
show raw.where(block: false): box.with(..code-theme.inline)
|
||||
|
||||
show figure.where(kind: table): set block(breakable: true)
|
||||
|
||||
set table(..common-theme.table)
|
||||
|
||||
show table.cell.where(y: 0): it => if table-header-smallcaps { smallcaps(it) } else { it }
|
||||
|
||||
show math.equation: it => {
|
||||
show regex("\\d+\\.\\d+"): it => if decimal-comma {
|
||||
show ".": { "," + h(0pt) }
|
||||
it
|
||||
} else { it }
|
||||
it
|
||||
}
|
||||
|
||||
let digit-grouping = state("digit-grouping", group-digits)
|
||||
|
||||
let no-digit-grouping(body) = context {
|
||||
let was-enabled = digit-grouping.get()
|
||||
digit-grouping.update(false)
|
||||
body
|
||||
digit-grouping.update(was-enabled)
|
||||
}
|
||||
|
||||
show regex("\\b\\d{4,}\\b"): it => context {
|
||||
if digit-grouping.get() {
|
||||
group-digits-text(it.text)
|
||||
} else {
|
||||
it
|
||||
}
|
||||
}
|
||||
|
||||
[
|
||||
#grid(
|
||||
columns: (1fr, 1fr),
|
||||
align(start)[
|
||||
*#course* \
|
||||
#students.map(((name, matrNr)) => [#name (#no-digit-grouping[#matrNr])]).join(linebreak())
|
||||
],
|
||||
align(horizon + right)[
|
||||
*#no-digit-grouping[#semester]* \
|
||||
#university \
|
||||
#institute \
|
||||
#if department != none [#department]
|
||||
],
|
||||
)
|
||||
|
||||
#v(0.2cm)
|
||||
#line(length: 100%, stroke: 0.4pt + computer-science-theme.divider)
|
||||
#v(0.3cm)
|
||||
|
||||
#align(center)[
|
||||
#title[Bearbeitung des #sheetnumber. Übungsblatts]
|
||||
#if subtitle != none [== #subtitle #v(1em)]
|
||||
]
|
||||
]
|
||||
|
||||
v(2em)
|
||||
|
||||
[
|
||||
#if submit_until != none [
|
||||
*Abgabe bis #german-date-time(submit_until);.*
|
||||
]
|
||||
|
||||
#if testats_from != none and testats_until != none [
|
||||
*Testate vom #german-date-time(testats_from) bis #german-date-time(testats_until).*
|
||||
]
|
||||
|
||||
#if info-text != none [#info-text]
|
||||
]
|
||||
|
||||
body
|
||||
}
|
||||
|
||||
+111
@@ -0,0 +1,111 @@
|
||||
#let std-smallcaps = smallcaps
|
||||
#let std-upper = upper
|
||||
|
||||
#let smallcaps(body, std: false) = if (std) { std-smallcaps(body) } else { std-smallcaps(text(tracking: 0.6pt, body)) }
|
||||
#let upper(body) = std-upper(text(tracking: 0.6pt, body))
|
||||
|
||||
#let colors = (
|
||||
accent: eastern,
|
||||
text: eastern.darken(25%),
|
||||
stroke: eastern.lighten(50%),
|
||||
code-border: gray,
|
||||
code-inline-border: rgb("CCCCCC"),
|
||||
code-block-fill: luma(98.75%),
|
||||
code-inline-fill: luma(96%),
|
||||
)
|
||||
|
||||
#let fonts = (
|
||||
base: "New Computer Modern",
|
||||
base-math: "New Computer Modern Math",
|
||||
cmu: "New Computer Modern",
|
||||
cmu-math: "New Computer Modern Math",
|
||||
code: "DejaVu Sans Mono",
|
||||
)
|
||||
|
||||
#let code-text-features = (
|
||||
calt: 1,
|
||||
cv02: 1, // g
|
||||
cv04: 1, // i
|
||||
cv06: 1,
|
||||
cv08: 1, // l
|
||||
cv16: 1,
|
||||
ss01: 1, // r
|
||||
ss02: 1, // >=
|
||||
ss03: 1,
|
||||
ss04: 1,
|
||||
ss05: 1,
|
||||
ss06: 1,
|
||||
ss08: 1,
|
||||
zero: 1, // 0
|
||||
)
|
||||
|
||||
#let default-page-numbering = (..nums) => [
|
||||
#set text(size: 10pt)
|
||||
*#nums.at(0)* / #nums.at(-1)
|
||||
]
|
||||
|
||||
#let common-theme = (
|
||||
lang: "de",
|
||||
page-numbering: default-page-numbering,
|
||||
paragraph: (justify: true),
|
||||
footnote: (
|
||||
numbering: (text: "[1]", note: "1"),
|
||||
indent: 1em,
|
||||
),
|
||||
table: (
|
||||
inset: 7pt,
|
||||
stroke: 0.5pt + colors.stroke,
|
||||
),
|
||||
)
|
||||
|
||||
#let code-theme = (
|
||||
font: fonts.code,
|
||||
features: code-text-features,
|
||||
tab-size: 4,
|
||||
size-offset: 2.5pt,
|
||||
block: (
|
||||
stroke: 0.4pt + colors.code-border,
|
||||
fill: colors.code-block-fill,
|
||||
radius: 0.2em,
|
||||
inset: (x: 1.25em, y: 1em),
|
||||
width: 100%,
|
||||
),
|
||||
inline: (
|
||||
stroke: 0.4pt + colors.code-inline-border,
|
||||
fill: colors.code-inline-fill,
|
||||
inset: (x: 3pt, y: 0pt),
|
||||
outset: (y: 3pt),
|
||||
radius: 2pt,
|
||||
),
|
||||
theme: "../../assets/OneHalfLight.tmTheme",
|
||||
)
|
||||
|
||||
#let base-theme = (
|
||||
font-size: 12pt,
|
||||
text-font: fonts.base,
|
||||
math-font: fonts.base-math,
|
||||
header-size: 8.5pt,
|
||||
heading-1: (size: 18pt, weight: 300),
|
||||
heading-2: (weight: 380),
|
||||
title-weight: 300,
|
||||
raw-block: code-theme.block,
|
||||
)
|
||||
|
||||
#let computer-science-theme = (
|
||||
font-size: 10.5pt,
|
||||
text-font: fonts.cmu,
|
||||
math-font: fonts.cmu-math,
|
||||
header-size: 10pt,
|
||||
divider: black,
|
||||
raw-block: code-theme.block,
|
||||
)
|
||||
|
||||
#let end-message = [_Typeset with #link("https://typst.app")[#text(fill: colors.text)[#underline[Typst]]]\; template available from #link("https://git.p0pa.de/Popa/clean-sheets")[#text(fill: colors.text)[#underline[clean-sheets]]]._]
|
||||
|
||||
#let statement-colors = (
|
||||
definition: (247, 57, 72),
|
||||
axiom: (247, 92, 37),
|
||||
theorem: (100, 100, 255),
|
||||
lemma: (22, 147, 220),
|
||||
corollary: (157, 82, 255),
|
||||
)
|
||||
Reference in new issue
Block a user