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} \documentclass[12pt]{dinbrief}
\usepackage{german} \usepackage{german}
\usepackage{eurosym} \usepackage{eurosym}
\usepackage{color}
\address{Nober Grundbesitz GbR\\ \address{Nober Grundbesitz GbR\\
Eupenstr. 20\\ 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 \textbf{Nr.} & \textbf{Wohnung} \\
\hline \hline
#if $wohnung == 1 #if $wohnung == 1
\textbf{1} \textcolor{red}{1}
#else #else
1 1
#end if #end if
& &
#if $wohnung == 1 #if $wohnung == 1
\textbf{EG links} \textcolor{red}{EG links}
#else #else
EG links EG links
#end if #end if
\\ \\
\hline \hline
#if $wohnung == 2 #if $wohnung == 2
\textbf{2} \textcolor{red}{2}
#else #else
2 2
#end if #end if
& &
#if $wohnung == 2 #if $wohnung == 2
\textbf{EG mitte} \textcolor{red}{EG mitte}
#else #else
EG mitte EG mitte
#end if #end if
\\ \\
\hline \hline
#if $wohnung == 3 #if $wohnung == 3
\textbf{3} \textcolor{red}{3}
#else #else
3 3
#end if #end if
& &
#if $wohnung == 3 #if $wohnung == 3
\textbf{EG rechts} \textcolor{red}{EG rechts}
#else #else
EG rechts EG rechts
#end if #end if
\\ \\
\hline \hline
#if $wohnung == 4 #if $wohnung == 4
\textbf{4} \textcolor{red}{4}
#else #else
4 4
#end if #end if
& &
#if $wohnung == 4 #if $wohnung == 4
\textbf{1. OG links} \textcolor{red}{1. OG links}
#else #else
1. OG links 1. OG links
#end if #end if
\\ \\
\hline \hline
#if $wohnung == 5 #if $wohnung == 5
\textbf{5} \textcolor{red}{5}
#else #else
5 5
#end if #end if
& &
#if $wohnung == 5 #if $wohnung == 5
\textbf{1. OG mitte} \textcolor{red}{1. OG mitte}
#else #else
1. OG mitte 1. OG mitte
#end if #end if
\\ \\
\hline \hline
#if $wohnung == 6 #if $wohnung == 6
\textbf{6} \textcolor{red}{6}
#else #else
6 6
#end if #end if
& &
#if $wohnung == 6 #if $wohnung == 6
\textbf{1. OG rechts} \textcolor{red}{1. OG rechts}
#else #else
1. OG rechts 1. OG rechts
#end if #end if
\\ \\
\hline \hline
#if $wohnung == 7 #if $wohnung == 7
\textbf{7} \textcolor{red}{7}
#else #else
7 7
#end if #end if
& &
#if $wohnung == 7 #if $wohnung == 7
\textbf{2. OG links} \textcolor{red}{2. OG links}
#else #else
2. OG links 2. OG links
#end if #end if
\\ \\
\hline \hline
#if $wohnung == 8 #if $wohnung == 8
\textbf{8} \textcolor{red}{8}
#else #else
8 8
#end if #end if
& &
#if $wohnung == 8 #if $wohnung == 8
\textbf{2. OG rechts} \textcolor{red}{2. OG rechts}
#else #else
2. OG rechts 2. OG rechts
#end if #end if

View File

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

File diff suppressed because it is too large Load Diff