Browse Source

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

master
Sebastian Pipping 10 years ago
parent
commit
47241847d4
  1. 14
      preislister/main.py

14
preislister/main.py

@ -57,11 +57,11 @@ if __name__ == '__main__': @@ -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__': @@ -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

Loading…
Cancel
Save