commit a5439a40ebce9b4e0879c71b25f273b1670b6a4e
parent e5aef03a17209aedc71315e33474d6ee4fedbb94
Author: orangerot <orangerot@orangerot.dev>
Date: Tue, 21 Oct 2025 14:25:05 +0200
fix: handwritten table for math
Diffstat:
1 file changed, 7 insertions(+), 11 deletions(-)
diff --git a/muendliche-pruefung-mathematik/muendliche-pruefung-mathematik.typ b/muendliche-pruefung-mathematik/muendliche-pruefung-mathematik.typ
@@ -82,21 +82,17 @@ _Welche Vorlesungen wurden geprüft und bei wem hast du sie gehört?_
// 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) => {(
bottom: 0.5pt,
x: if x in range(1,5) {0.5pt},
)}, rows: (auto,) + 5 * (2.5em,),
- table.header[Titel der Vorlesung][Dozent][Wann gehört][SWS][ECTS][LP],
- ..(lectures + 5*6*([hi],)).slice(0,5*6)
+ table.header(
+ [Titel der Vorlesung],[Dozent],[Wann gehört],[SWS],[ECTS],[LP]),
+ [ ],[ ],[ ],[ ],[ ],[ ],
+ [ ],[ ],[ ],[ ],[ ],[ ],
+ [ ],[ ],[ ],[ ],[ ],[ ],
+ [ ],[ ],[ ],[ ],[ ],[ ],
+ [ ],[ ],[ ],[ ],[ ],[ ],
) <attendance>
#pagebreak()