Dokumentvorlagen Standard LaTeX
[kivitendo-erp.git] / templates / print / Standard / ohneBriefpapier.sty
1 \ProvidesFile{ohneBriefpapier.sty}
2 \usepackage[utf8]{inputenc}
3 \usepackage{german}
4 \usepackage{graphicx}
5 % \usepackage{colortbl}
6 % \usepackage{lastpage}
7 % \usepackage{tabularx}
8
9 % \pageref
10
11 \setlength{\voffset}{-0.3cm}
12 \setlength{\hoffset}{-2.5cm}
13 \setlength{\topmargin}{0cm}
14 \setlength{\headheight}{0.5cm}
15 \setlength{\headsep}{1cm}
16 \setlength{\topskip}{0pt}
17 \setlength{\oddsidemargin}{2cm}
18 \setlength{\textwidth}{16.4cm}
19 \setlength{\textheight}{20.5cm}
20 \setlength{\footskip}{1cm}
21 \setlength{\parindent}{0pt}
22
23 \setlength{\tabcolsep}{0.2cm}
24 \setlength{\unitlength}{1cm}
25
26 \newcommand{\myhead}{%
27   \fontfamily{cmss}\fontsize{10pt}{10pt}\fontseries{m}\selectfont
28   \begin{picture}(0,0)
29     \put(13.3,-23.8){\includegraphics*[width=3.6cm,keepaspectratio=true]{PNG/hinweis-rechts-unten.png}}
30   \end{picture}
31 }
32
33 \newcommand{\myfoot}{%
34 }
35
36 \newcommand{\plainfoot}{%
37   \fontfamily{cmss}\fontsize{10pt}{10pt}\fontseries{m}\selectfont
38   \begin{minipage}[t][1cm][t]{\textwidth}
39     \begin{minipage}[t][1cm][t]{5cm}
40       \refnr
41     \end{minipage} \hspace*{10.25cm}
42     \begin{minipage}[t][1cm][t]{2cm}
43       Seite \thepage \\
44     \end{minipage}
45   \end{minipage}
46 }
47
48 \newcommand{\plainhead}{%
49   \fontfamily{cmss}\fontsize{10pt}{10pt}\fontseries{m}\selectfont
50
51 }
52
53
54 \renewcommand{\ps@headings}{%
55   \renewcommand{\@oddhead}{\myhead}
56   \renewcommand{\@evenhead}{\@oddhead}%
57   \renewcommand{\@oddfoot}{\myfoot}
58   \renewcommand{\@evenfoot}{\@oddfoot}%
59 }
60
61 \renewcommand{\ps@plain}{%
62   \renewcommand{\@oddhead}{\plainhead}
63   \renewcommand{\@evenhead}{\@oddhead}%
64   \renewcommand{\@oddfoot}{\plainfoot}
65   \renewcommand{\@evenfoot}{\@oddfoot}%
66 }