aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Readme.md12
1 files changed, 12 insertions, 0 deletions
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`.