feat: add semester field to base sheet template
This commit is contained in:
4 files changed
+1452
-1435
No files matched your search
@@ -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()
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user