fix: handwritten table for math

This commit is contained in:
orangerot 2025-10-21 14:25:05 +02:00
parent e5aef03a17
commit a5439a40eb

View file

@ -82,21 +82,17 @@ _Welche Vorlesungen wurden geprüft und bei wem hast du sie gehört?_
// Hier ist Platz für deinen Kommentar. // Hier ist Platz für deinen Kommentar.
] ]
#let lectures = (
// Titel der Vorlesung, Dozent, Wann gehört, SWS, ECTS, LP
(vorlesung: "", dozent: "", wann: "", sws: "", ects: "", lp: ""),
(vorlesung: "", dozent: "", wann: "", sws: "", ects: "", lp: ""),
(vorlesung: "", dozent: "", wann: "", sws: "", ects: "", lp: ""),
(vorlesung: "", dozent: "", wann: "", sws: "", ects: "", lp: ""),
(vorlesung: "", dozent: "", wann: "", sws: "", ects: "", lp: ""),
).map((lecture) => lecture.values()).flatten()
#table(columns: (43%, 22%, 17.5%,8%,10%,6%), stroke: (x,y) => {( #table(columns: (43%, 22%, 17.5%,8%,10%,6%), stroke: (x,y) => {(
bottom: 0.5pt, bottom: 0.5pt,
x: if x in range(1,5) {0.5pt}, x: if x in range(1,5) {0.5pt},
)}, rows: (auto,) + 5 * (2.5em,), )}, rows: (auto,) + 5 * (2.5em,),
table.header[Titel der Vorlesung][Dozent][Wann gehört][SWS][ECTS][LP], table.header(
..(lectures + 5*6*([hi],)).slice(0,5*6) [Titel der Vorlesung],[Dozent],[Wann gehört],[SWS],[ECTS],[LP]),
[ ],[ ],[ ],[ ],[ ],[ ],
[ ],[ ],[ ],[ ],[ ],[ ],
[ ],[ ],[ ],[ ],[ ],[ ],
[ ],[ ],[ ],[ ],[ ],[ ],
[ ],[ ],[ ],[ ],[ ],[ ],
) <attendance> ) <attendance>
#pagebreak() #pagebreak()