\documentclass[12pt]{article} \usepackage{german} \usepackage{eurosym} \usepackage[a4paper, left=2cm, right=2cm, top=2cm]{geometry} \begin{document} Haus: $details['description'] Jahr: $year \begin{tabular}{|p{5cm}|r|r|r|} \hline Art & Wohnungen & andere Fl"achen & gesamt \\ \hline Fl"ache & $areas['flat_area'] & $areas['other_area'] & $areas['total_area'] \\ \hline Faktor & #echo '%.10f' % $areas['flat_factor'] # & #echo '%.10f' % $areas['other_factor'] # & \\ #for $item in $overhead_items \hline $item['category'] & #echo '%.2f' % $item['flat_part'] # & #echo '%.2f' % $item['other_part'] # & #echo '%.2f' % $item['sum'] # \\ #end for \hline Zwischensumme & #echo '%.2f' % $flat_sum # & #echo '%.2f' % $other_sum # & #echo '%.2f' % $total_sum # \\ \hline Umlageausfallwagnis & #echo '%.2f' % $umlage_ausfall_wagnis # & & \\ \hline Summe & #echo '%.2f' % $flat_sum_2 # & & \\ \hline Anteil / Monat / m2 & #echo '%.10f' % $part_by_montharea # & & \\ \hline \end{tabular} \end{document}