From 658416b5cc107559e23fca751c73bcdaf590808f Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 5 Apr 2023 16:44:47 +0200 Subject: Readme: mention event_line_formats configuration table --- Readme.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Readme.md b/Readme.md index 23b9169..a78757b 100644 --- a/Readme.md +++ b/Readme.md @@ -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`. -- cgit v1.2.3