Winterophase 2025 #1

Merged
mhaas merged 1 commit from mheuwes/LaTeX-Stundenplan:master into master 2025-06-25 00:21:03 +02:00
4 changed files with 97 additions and 127 deletions
Showing only changes of commit 08b77299fd - Show all commits

View file

@ -45,8 +45,8 @@
"en": "This event is open end." "en": "This event is open end."
}, },
{ {
"de": "Zur Auswahl: Auslandsvortrag (S3|11 08), Lerngruppen-Speed-Dating (S2|02 C301), Git-Workshop (S2|02 C205)", "de": "Zur Auswahl: Auslandsvortrag (S3|11 08), Lerngruppen-Speed-Dating (S2|02 A020), Git-Workshop (S2|02 C205)",
"en": "To choose from: Lecture abroad (S3|11 08), Learning group speed dating (S2|02 C301), Git workshop (S2|02 C205)" "en": "To choose from: Lecture abroad (S3|11 08), Learning group speed dating (S2|02 A020), Git workshop (S2|02 C205)"
} }
], ],
"days": [ "days": [
@ -98,8 +98,8 @@
"from": "16:30", "from": "16:30",
"to": "19:30", "to": "19:30",
"name": { "name": {
"de": "Spielepräabend", "de": "Spielepräabend / Stadtführung",
"en": "Games pre evening" "en": "Games pre evening / City tour"
}, },
"room": "Folgt nach Vortrag", "room": "Folgt nach Vortrag",
"notes": [2] "notes": [2]
@ -192,8 +192,8 @@
"from": "09:30", "from": "09:30",
"to": "12:00", "to": "12:00",
"name": { "name": {
"de": "Mentorensystem,\nTUCaN, Moodle", "de": "Mentorensystem/eiiss,\nTUCaN, Moodle",
"en": "Mentoring system,\nTUCaN, Moodle" "en": "Mentoring system/eiiss,\nTUCaN, Moodle"
}, },
"room": "S1|05 122 (Maschinenhaus)" "room": "S1|05 122 (Maschinenhaus)"
}, },
@ -210,7 +210,7 @@
{ {
"category": "dezentral", "category": "dezentral",
"from": "14:30", "from": "14:30",
"to": "19:00", "to": "17:30",
"name": { "name": {
"de": "Geländespiel", "de": "Geländespiel",
"en": "Campus game" "en": "Campus game"
@ -219,7 +219,7 @@
}, },
{ {
"category": "optional", "category": "optional",
"from": "19:00", "from": "17:30",
"to": "20:00", "to": "20:00",
"name": { "name": {
"de": "Spieleabend", "de": "Spieleabend",
@ -279,11 +279,10 @@
"from": "19:00", "from": "19:00",
"to": "21:00", "to": "21:00",
"name": { "name": {
"de": "Kneipentour / Mathetheater", "de": "Mathetheater",
"en": "Bar tour / Math theatre" "en": "Math theatre"
}, },
"room": "S2|02 C205 / S2|06 030", "room": "S2|06 030"
"notes": [2]
} }
] ]
}, },
@ -293,7 +292,7 @@
{ {
"category": "optional", "category": "optional",
"from": "08:30", "from": "08:30",
"to": "10:30", "to": "09:45",
"name": { "name": {
"de": "Frühstück", "de": "Frühstück",
"en": "Breakfast" "en": "Breakfast"
@ -302,18 +301,18 @@
}, },
{ {
"category": "dezentral", "category": "dezentral",
"from": "10:30", "from": "09:45",
"to": "11:30", "to": "11:15",
"name": { "name": {
"de": "AStA, Beschwerdemanagement", "de": "AStA, Beschwerdemanagement,\nAnti-Diskriminierung,\nGleichstellungsteam",
"en": "AStA, complaint management" "en": "AStA, complaint management,\nAnti-Discrimination,\nGender Equality Team"
}, },
"room": "S1|05 122 (Maschinenhaus)" "room": "S1|05 122 (Maschinenhaus)"
}, },
{ {
"category": "kleingruppe", "category": "kleingruppe",
"from": "11:30", "from": "11:15",
"to": "14:30", "to": "14:00",
"name": { "name": {
"de": "Kleingruppen", "de": "Kleingruppen",
"en": "Groups" "en": "Groups"
@ -322,25 +321,14 @@
}, },
{ {
"category": "zentral", "category": "zentral",
"from": "14:40", "from": "14:00",
"to": "16:00", "to": "15:30",
"name": { "name": {
"de": "Abschluss", "de": "Abschluss",
"en": "Closing" "en": "Closing"
}, },
"room": "S1|05 122 (Maschinenhaus)" "room": "S1|05 122 (Maschinenhaus)"
}, },
{
"category": "optional",
"from": "16:00",
"to": "19:00",
"name": {
"de": "Campus-/Stadtführung\noder Spieleabend",
"en": "Campus and city tour\nor games evening"
},
"room": "S2|02 C301",
"notes": [2]
},
{ {
"category": "optional", "category": "optional",
"from": "20:00", "from": "20:00",
@ -349,7 +337,7 @@
"de": "FB20 Party", "de": "FB20 Party",
"en": "FB20 Party" "en": "FB20 Party"
}, },
"room": "Goldene Krone", "room": "t.b.d.",
"notes": [2] "notes": [2]
} }
] ]

View file

@ -63,12 +63,12 @@
], ],
"days": [ "days": [
{ {
"dayOfWeek": 2, "dayOfWeek": 3,
"slots": [ "slots": [
{ {
"category": "optional", "category": "optional",
"from": "09:00", "from": "09:30",
"to": "10:00", "to": "11:00",
"name": { "name": {
"de": "Frühstück", "de": "Frühstück",
"en": "Breakfast" "en": "Breakfast"
@ -77,8 +77,8 @@
}, },
{ {
"category": "department", "category": "department",
"from": "10:00", "from": "11:00",
"to": "10:30", "to": "11:45",
"name": { "name": {
"de": "Begrüßung", "de": "Begrüßung",
"en": "Welcome Meeting" "en": "Welcome Meeting"
@ -87,18 +87,18 @@
}, },
{ {
"category": "tud", "category": "tud",
"from": "10:30", "from": "11:45",
"to": "12:00", "to": "13:00",
"name": { "name": {
"de": "Fachstudienberatung und Studieren\nan der TU Darmstadt", "de": "Fachstudienberatung",
"en": "Student Advisory Talk and\nStudying at TU Darmstadt" "en": "Student Advisory Talk"
}, },
"room": "S2|02 C205" "room": "S2|02 C205"
}, },
{ {
"category": "tud", "category": "tud",
"from": "12:00", "from": "13:00",
"to": "13:30", "to": "14:30",
"name": { "name": {
"de": "ULB Tour", "de": "ULB Tour",
"en": "ULB Tour" "en": "ULB Tour"
@ -107,68 +107,49 @@
}, },
{ {
"category": "leisure", "category": "leisure",
"from": "12:00", "from": "13:00",
"to": "13:30", "to": "14:30",
"name": { "name": {
"de": "Mittagessen", "de": "Mittagessen",
"en": "Lunch" "en": "Lunch"
}, },
"room": "Mensa" "room": "Mensa"
}, },
{
"category": "department",
"from": "13:30",
"to": "14:30",
"name": {
"de": "Studieren im Ausland",
"en": "Studying Abroad"
},
"room": "S2|02 C110"
},
{ {
"category": "department", "category": "department",
"from": "14:30", "from": "14:30",
"to": "15:30", "to": "16:00",
"name": { "name": {
"de": "Kurzvorträge", "de": "Master/Doktor-Panel",
"en": "Lightning-Round talks" "en": "Master and Doctorate Panel"
}, },
"room": "S2|02 C110" "room": "S2|02 C205"
}, },
{ {
"category": "leisure", "category": "leisure",
"from": "15:30", "from": "16:00",
"to": "16:30", "to": "17:00",
"name": { "name": {
"de": "Get-Together", "de": "Get-Together",
"en": "Get-Together" "en": "Get-Together"
}, },
"room": "S2|02 C110" "room": "S2|02 A020 (LZI)"
}, },
{ {
"category": "leisure", "category": "leisure",
"from": "16:30", "from": "17:00",
"to": "19:00", "to": "19:00",
"name": { "name": {
"de": "Brettspielabend", "de": "Brettspielabend",
"en": "Gnom" "en": "Gnom"
}, },
"room": "S2|02 C110" "room": "S2|02 A020 (LZI)",
}, "notes": [1]
{
"category": "leisure",
"from": "16:30",
"to": "19:00",
"name": {
"de": "Stadttour",
"en": "City Tour"
},
"room": "S2|02 C110"
} }
] ]
}, },
{ {
"dayOfWeek": 3, "dayOfWeek": 4,
"slots": [ "slots": [
{ {
"category": "optional", "category": "optional",
@ -189,12 +170,22 @@
"de": "IT Systeme", "de": "IT Systeme",
"en": "IT Systems" "en": "IT Systems"
}, },
"room": "S2|02 C110" "room": "S2|02 C205"
},
{
"category": "department",
"from": "12:00",
"to": "13:00",
"name": {
"de": "Kurzvorträge",
"en": "Lightning-Round talks"
},
"room": "S2|02 C205"
}, },
{ {
"category": "leisure", "category": "leisure",
"from": "12:00", "from": "13:00",
"to": "13:30", "to": "14:00",
"name": { "name": {
"de": "Mittagessen", "de": "Mittagessen",
"en": "Lunch" "en": "Lunch"
@ -203,23 +194,23 @@
}, },
{ {
"category": "tud", "category": "tud",
"from": "13:30", "from": "14:00",
"to": "14:00", "to": "14:30",
"name": { "name": {
"de": "Fachschaft", "de": "Fachschaft",
"en": "Student council" "en": "Student council"
}, },
"room": "S2|02 C110" "room": "S2|02 C205"
}, },
{ {
"category": "germany", "category": "germany",
"from": "14:00", "from": "14:30",
"to": "16:00", "to": "16:00",
"name": { "name": {
"de": "Intercultural Talk", "de": "Intercultural Talk",
"en": "Intercultural Talk" "en": "Intercultural Talk"
}, },
"room": "S2|02 C110" "room": "S2|02 C205"
}, },
{ {
"category": "leisure", "category": "leisure",
@ -229,7 +220,7 @@
"de": "Unirallye", "de": "Unirallye",
"en": "Unirallye" "en": "Unirallye"
}, },
"room": "S2|02 C110" "room": "S2|02 C205"
}, },
{ {
"category": "leisure", "category": "leisure",
@ -239,18 +230,18 @@
"de": "Kneipentour", "de": "Kneipentour",
"en": "Bartour" "en": "Bartour"
}, },
"room": "S2|02 C110", "room": "S2|02 C205",
"notes": [1] "notes": [1]
} }
] ]
}, },
{ {
"dayOfWeek": 4, "dayOfWeek": 5,
"slots": [ "slots": [
{ {
"category": "optional", "category": "optional",
"from": "09:00", "from": "08:30",
"to": "10:00", "to": "10:30",
"name": { "name": {
"de": "Frühstück", "de": "Frühstück",
"en": "Breakfast" "en": "Breakfast"
@ -259,63 +250,54 @@
}, },
{ {
"category": "tud", "category": "tud",
"from": "10:00", "from": "10:30",
"to": "11:45", "to": "12:00",
"name": { "name": {
"de": "Anti-Diskriminierung, AStA,\nBeschwerdemanagement, Gleichstellungs-\nTeam, Unite!", "de": "Beyond University\nAStA, Beschwerdemanagement,\nGleichstellungs-Team, Sprachencenter",
"en": "Anti Discrimination, AStA,\nImprovement Management, Gender Equality\nTeam, Unite!" "en": "Beyond University\nAStA, Improvement Management,\nGender Equality Team, Language center"
}, },
"room": "S2|02 C110" "room": "S2|02 C205"
}, },
{ {
"category": "department", "category": "department",
"from": "11:45", "from": "12:00",
"to": "13:00", "to": "13:00",
"name": { "name": {
"de": "Wissenschaftlicher Vortrag\nvon Prof. Ulmann", "de": "Studieren im Ausland",
"en": "Scientific Talk\nby Prof. Ulmann" "en": "Studying Abroad"
}, },
"room": "S2|02 C110" "room": "S2|02 C205"
}, },
{ {
"category": "department", "category": "department",
"from": "13:00", "from": "13:00",
"to": "14:00", "to": "13:30",
"name": { "name": {
"de": "Master/Doktor-Panel", "de": "Abschlussvortrag",
"en": "Master and Doctorate Panel"
},
"room": "S2|02 C110"
},
{
"category": "bachelor",
"from": "13:00",
"to": "14:00",
"name": {
"de": "Fachstudienberatung Q&A Bachelor",
"en": "Student Advisory Q&A Bachelor"
},
"room": "S2|02 C110"
},
{
"category": "department",
"from": "14:00",
"to": "14:30",
"name": {
"de": "Abschlussvotrag",
"en": "Feedback and Closing" "en": "Feedback and Closing"
}, },
"room": "S2|02 C110" "room": "S2|02 C205"
}, },
{ {
"category": "leisure", "category": "leisure",
"from": "14:30", "from": "13:30",
"to": "17:30", "to": "17:00",
"name": { "name": {
"de": "Abschlussgrillen", "de": "Abschlussgrillen / Stadttour",
"en": "Master-BBQ" "en": "Master-BBQ / City tour"
}, },
"room": "S2|02 A020" "room": "S2|02 A020"
},
{
"category": "optional",
"from": "20:00",
"to": "21:00",
"name": {
"de": "FB20 Party",
"en": "FB20 Party"
},
"room": "t.b.d.",
"notes": [2]
} }
] ]
} }

View file

@ -89,7 +89,7 @@ def main(argv):
time = '' time = ''
time += '\\begin{tag}{Zeit}\n' time += '\\begin{tag}{Zeit}\n'
for h in range(time_min, time_max, 1): for h in range(time_min, time_max, 1):
time += '\t\zeit{{{:02d}:00}}{{{:02d}:00}}'.format(h, h+1) time += '\t\\zeit{{{:02d}:00}}{{{:02d}:00}}'.format(h, h+1)
time += '\\end{tag}\n' time += '\\end{tag}\n'
with open(template_path, 'r') as f: with open(template_path, 'r') as f:

View file

@ -56,7 +56,7 @@
return (\t + \o) * daywidth(\n); return (\t + \o) * daywidth(\n);
}; };
function ypos(\s) { function ypos(\s) {
return -0.1 - (\s - 540) / \scaling * 1.15; return -0.1 - (\s - 480) / \scaling * 1.15;
}; };
} }