feat: add semester field to base sheet template

This commit is contained in:
Popa committed 2026-09-14 02:10:08 +02:00
1 parent 115569e400
commit cdda813102
4 files changed
+1452 -1435

No files matched your search

+6 -4
View File
@@ -11,6 +11,7 @@
course,
prof,
assistant,
semester: none,
exercises,
students,
tutor,
@@ -50,17 +51,18 @@
if counter(page).get().first() > 1 {
set text(base-theme.header-size, weight: 450)
grid(
columns: (3fr, 1fr, 3fr),
align: (start, center, end),
columns: (1fr, 1fr),
align: (start, end),
[
#text(weight: 800)[#course] \
#(prof, assistant).join([#h(0.25em)·#h(0.25em)])
#(prof, assistant).join([#h(0.25em)·#h(0.25em)]) \
#semester
],
text(fill: colors.text)[#ttl],
[
#let _month = datetime.today().month()
#text(fill: colors.text, weight: 800)[#ttl] \
#students.join([#h(0.25em)·#h(0.25em)]) \
#datetime.today().day(). #months-de.at(_month - 1) #datetime.today().year()
],