Revision 818ae137
Von Marei Peischl vor fast 5 Jahren hinzugefügt
insettings.tex | ||
---|---|---|
79 | 79 |
% 4. Belegnummer {oder leer} |
80 | 80 |
% 5. Belegdatum {oder leer} |
81 | 81 |
% Beispiel: \ourhead{\kundennummer}{<%customernumber%>}{\angebot}{<%quonumber%>}{<%quodate%>} |
82 |
\setkomafont{pagehead}{\scriptsize} |
|
82 | 83 |
\newcommand{\ourhead}[5] { |
83 | 84 |
\chead{ |
84 |
\ifthenelse{\equal{\thepage}{1}} |
|
85 |
{}% then |
|
86 |
{\normalfont\fontfamily{cmss}\scriptsize |
|
87 |
\ifthenelse{\equal{#1}{}}{}{#1: #2 \hspace{0.7cm}}{} |
|
85 |
\ifnum\thepage=1 |
|
86 |
\else |
|
87 |
\ifstr{#1}{}{}{#1: #2 \hspace{0.7cm}} |
|
88 | 88 |
#3 |
89 |
\ifthenelse{\equal{#4}{}}{}{~\nr: #4} |
|
90 |
\ifthenelse{\equal{#5}{}}{}{\vom ~ #5} |
|
91 |
\hspace{0.7cm} - \seite ~ \thepage/\pageref{LastPage} ~- } |
|
92 |
}%ende chead |
|
89 |
\ifstr{#4}{}{}{~\nr: #4} |
|
90 |
\ifstr{#5}{}{}{\vom ~ #5} |
|
91 |
\hspace{0.7cm} - \seite ~ \thepage/\letterlastpage ~-% |
|
92 |
\fi |
|
93 |
} |
|
93 | 94 |
} |
94 | 95 |
|
95 | 96 |
% Firmenfuss |
97 |
\setkomafont{pagefoot}{\tiny} |
|
96 | 98 |
\cfoot{ |
97 |
{\normalfont\fontfamily{cmss} \tiny
|
|
99 |
{ |
|
98 | 100 |
\begin{tabular}{p{5cm}p{4.5cm}lr} |
99 | 101 |
\firma & \email & \textKontonummer & \kontonummer \\ |
100 | 102 |
\strasse & \homepage & \textBank & \bank \\ |
101 | 103 |
\ort & \textUstid\ \ustid & \textIban & \iban \\ |
102 | 104 |
\textTelefon~\telefon & \finanzamt & \textBic & \bic \\ |
103 |
\ifthenelse{\equal{\fax}{}}{}{\textFax~\fax} & &\textBankleitzahl & \bankleitzahl \\
|
|
105 |
\ifstr{\fax}{}{}{\textFax~\fax} & &\textBankleitzahl & \bankleitzahl \\
|
|
104 | 106 |
\end{tabular} |
105 | 107 |
} |
106 | 108 |
} |
Auch abrufbar als: Unified diff
adjust head/foot structure