diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-04-06 12:06:30 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-04-06 12:06:30 +0200 |
| commit | 0f1b60f520f94118905071e24de89a76f789f67a (patch) | |
| tree | 928bc24671fa3aa6a477db5c1f74afe63878e14d /.gitignore | |
| parent | c7d91693a6f3d7eb954ff3513ed63e54cb4c10ce (diff) | |
| download | avail-lessons-0f1b60f520f94118905071e24de89a76f789f67a.tar.gz avail-lessons-0f1b60f520f94118905071e24de89a76f789f67a.zip | |
support formatting special events
This is usefull to include events like holidays or semester end in
the formatted output.
I use the following config
```toml
[special_events.Notenschluss]
pattern = "Notenschluss*"
fmt = '''\\rowcolor{{yellow!30}} \\multicolumn{{5}}{{c}}{{{event.start.date().strftime('%d.%m')} {event.summary}}} \\\\'''
[special_events.Ferien]
pattern = "*ferien*"
fmt = '''\\rowcolor{{yellow!30}} \\multicolumn{{5}}{{c}}{{{event.start.date().strftime('%d.%m')}-{event.end.date().strftime('%d.%m')} {event.summary}}} \\\\'''
```
to include any holidays as well as the semester end in my formatted
latex table.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions
