Preislister: Datum oben auf jeder Seite (mit fancyhdr), Ränder neu anpassen

This commit is contained in:
Sebastian Pipping 2012-05-16 22:31:46 +02:00
parent 7aa94c3243
commit 47241847d4
1 changed files with 9 additions and 5 deletions

View File

@ -57,11 +57,11 @@ if __name__ == '__main__':
\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage{fullpage}
\usepackage{eurosym}
\usepackage[table]{xcolor}
\usepackage[hmargin=1cm,vmargin=1cm]{geometry}
\usepackage[tmargin=2cm,bmargin=3cm]{geometry}
\usepackage{longtable}
\usepackage{fancyhdr}
% No footskip
\addtolength{\textheight}{\footskip}
@ -77,9 +77,13 @@ if __name__ == '__main__':
\definecolor{mygray}{RGB}{224,224,224}
\renewcommand{\arraystretch}{1.2}
\begin{document}\sffamily
\noindent
Stand \today\\[\baselineskip]
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0pt}
\fancyhf{}
\fancyhead[EC,OC]{\sffamily Stand \today}
\begin{document}%
\rowcolors{2}{white}{mygray}
\begin{longtable}{l@{\quad}rr}
\textbf{Artikel} & \multicolumn{1}{c}{\textbf{Preis}} & \multicolumn{1}{c}{\textbf{Pfand}} \endhead