winterdienst

This commit is contained in:
2021-03-01 18:39:11 +01:00
parent 4c82081b9e
commit 2da95697e6
3 changed files with 170 additions and 169 deletions

View File

@ -1,6 +1,7 @@
\documentclass[12pt]{dinbrief}
\usepackage{german}
\usepackage{eurosym}
\usepackage{color}
\address{Nober Grundbesitz GbR\\
Eupenstr. 20\\
@ -49,104 +50,104 @@ Die Zust"andigkeit f"ur den Winterdienst entnehmen Sie bitte den beiden untenste
\hline \textbf{Nr.} & \textbf{Wohnung} \\
\hline
#if $wohnung == 1
\textbf{1}
\textcolor{red}{1}
#else
1
#end if
&
#if $wohnung == 1
\textbf{EG links}
\textcolor{red}{EG links}
#else
EG links
#end if
\\
\hline
#if $wohnung == 2
\textbf{2}
\textcolor{red}{2}
#else
2
#end if
&
#if $wohnung == 2
\textbf{EG mitte}
\textcolor{red}{EG mitte}
#else
EG mitte
#end if
\\
\hline
#if $wohnung == 3
\textbf{3}
\textcolor{red}{3}
#else
3
#end if
&
#if $wohnung == 3
\textbf{EG rechts}
\textcolor{red}{EG rechts}
#else
EG rechts
#end if
\\
\hline
#if $wohnung == 4
\textbf{4}
\textcolor{red}{4}
#else
4
#end if
&
#if $wohnung == 4
\textbf{1. OG links}
\textcolor{red}{1. OG links}
#else
1. OG links
#end if
\\
\hline
#if $wohnung == 5
\textbf{5}
\textcolor{red}{5}
#else
5
#end if
&
#if $wohnung == 5
\textbf{1. OG mitte}
\textcolor{red}{1. OG mitte}
#else
1. OG mitte
#end if
\\
\hline
#if $wohnung == 6
\textbf{6}
\textcolor{red}{6}
#else
6
#end if
&
#if $wohnung == 6
\textbf{1. OG rechts}
\textcolor{red}{1. OG rechts}
#else
1. OG rechts
#end if
\\
\hline
#if $wohnung == 7
\textbf{7}
\textcolor{red}{7}
#else
7
#end if
&
#if $wohnung == 7
\textbf{2. OG links}
\textcolor{red}{2. OG links}
#else
2. OG links
#end if
\\
\hline
#if $wohnung == 8
\textbf{8}
\textcolor{red}{8}
#else
8
#end if
&
#if $wohnung == 8
\textbf{2. OG rechts}
\textcolor{red}{2. OG rechts}
#else
2. OG rechts
#end if

View File

@ -78,7 +78,7 @@ for i, v in enumerate(wd):
print(" ")
else:
print("#if $wohnung == {}".format(x))
print("\\textbf{" + str(x) + "}")
print("\\textcolor{red}{\\textbf{" + str(x) + "}}")
print("#else")
print("{}".format(x))
print("#end if")

File diff suppressed because it is too large Load Diff