Preislister: Datum oben auf jeder Seite (mit fancyhdr), Ränder neu anpassen
This commit is contained in:
parent
7aa94c3243
commit
47241847d4
|
@ -57,11 +57,11 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
\usepackage[ngerman]{babel}
|
\usepackage[ngerman]{babel}
|
||||||
\usepackage[utf8]{inputenc}
|
\usepackage[utf8]{inputenc}
|
||||||
\usepackage{fullpage}
|
|
||||||
\usepackage{eurosym}
|
\usepackage{eurosym}
|
||||||
\usepackage[table]{xcolor}
|
\usepackage[table]{xcolor}
|
||||||
\usepackage[hmargin=1cm,vmargin=1cm]{geometry}
|
\usepackage[tmargin=2cm,bmargin=3cm]{geometry}
|
||||||
\usepackage{longtable}
|
\usepackage{longtable}
|
||||||
|
\usepackage{fancyhdr}
|
||||||
|
|
||||||
% No footskip
|
% No footskip
|
||||||
\addtolength{\textheight}{\footskip}
|
\addtolength{\textheight}{\footskip}
|
||||||
|
@ -77,9 +77,13 @@ if __name__ == '__main__':
|
||||||
\definecolor{mygray}{RGB}{224,224,224}
|
\definecolor{mygray}{RGB}{224,224,224}
|
||||||
\renewcommand{\arraystretch}{1.2}
|
\renewcommand{\arraystretch}{1.2}
|
||||||
|
|
||||||
\begin{document}\sffamily
|
\pagestyle{fancy}
|
||||||
\noindent
|
\renewcommand{\headrulewidth}{0pt}
|
||||||
Stand \today\\[\baselineskip]
|
\fancyhf{}
|
||||||
|
\fancyhead[EC,OC]{\sffamily Stand \today}
|
||||||
|
|
||||||
|
|
||||||
|
\begin{document}%
|
||||||
\rowcolors{2}{white}{mygray}
|
\rowcolors{2}{white}{mygray}
|
||||||
\begin{longtable}{l@{\quad}rr}
|
\begin{longtable}{l@{\quad}rr}
|
||||||
\textbf{Artikel} & \multicolumn{1}{c}{\textbf{Preis}} & \multicolumn{1}{c}{\textbf{Pfand}} \endhead
|
\textbf{Artikel} & \multicolumn{1}{c}{\textbf{Preis}} & \multicolumn{1}{c}{\textbf{Pfand}} \endhead
|
||||||
|
|
Loading…
Reference in New Issue