diff options
| -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`. |
