diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-04-05 16:44:47 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-04-05 16:44:47 +0200 |
| commit | 658416b5cc107559e23fca751c73bcdaf590808f (patch) | |
| tree | a17ac831e37acf5a5bbf086788a4f6d73de144be | |
| parent | bba0994ffbce3016d4038504370a953812aefd15 (diff) | |
| download | avail-lessons-658416b5cc107559e23fca751c73bcdaf590808f.tar.gz avail-lessons-658416b5cc107559e23fca751c73bcdaf590808f.zip | |
Readme: mention event_line_formats configuration table
| -rw-r--r-- | Readme.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -64,6 +64,18 @@ fmt = "{week} & {date.strftime('%d.%m')} & & & {period_events} \\" output_footer = '\end{tabular}' ``` +The configuration table `event_line_formats` allows to specify the format of the whole line if a certain event takes place during the lesson. + +For example + +```toml +[event_line_formats] +Unterrichtsschluss = '\\rowcolor{{red!30}} {line}' +``` + +can be used to color the latex table row in light red if a early end of class is detected. + + ## Usage To obtain a list of future lessons for an example (5A) math class run `./lessons.py --class 5A --subject M`. |
