summaryrefslogtreecommitdiff
path: root/templates/_main.tex
diff options
context:
space:
mode:
authorNikolaus Gotsche <n@softwarefools.com>2019-11-18 23:48:51 +0100
committerNikolaus Gotsche <n@softwarefools.com>2019-11-18 23:48:51 +0100
commit1f9dcb69b80d7a7b9211b106bfa130e125545f7c (patch)
tree0733ca983d6995bc61774180105e0ca9ea117623 /templates/_main.tex
parenta53eb876da9fb84d9452b8bde4904ee84d31d08a (diff)
Logo put into Letter Background to keep Letter ratios
Diffstat (limited to 'templates/_main.tex')
-rw-r--r--templates/_main.tex14
1 files changed, 10 insertions, 4 deletions
diff --git a/templates/_main.tex b/templates/_main.tex
index 8fd1eb2..4395ac6 100644
--- a/templates/_main.tex
+++ b/templates/_main.tex
@@ -1,12 +1,13 @@
% koma_env.tex
\documentclass[a4paper]{scrlttr2}
-\usepackage[top=2cm, bottom=1cm, left=2cm, right=2cm]{geometry}
+\usepackage[top=1cm, bottom=1cm, left=1cm, right=1cm]{geometry}
\usepackage{graphicx}
\usepackage{lmodern}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage{xcolor}
+\usepackage{eso-pic}
\usepackage[hidelinks]{hyperref}
\usepackage[german]{invoice}
@@ -56,12 +57,18 @@
}%
}
+\newcommand\headerpic{%
+\put(0,0){%
+\parbox[b][\paperheight]{\paperwidth}{%
+\vspace{1cm}\hspace{2.5cm}\includegraphics[width=.20\textwidth]{logo.png}
+\vfill
+}}}
\begin{document}
+\AddToShipoutPicture{\headerpic}
\begin{letter}{\customerCompany \\ \customerName \\
\customerStreet \\ \customerZIP \ \customerCity}
- \includegraphics[width=0.15\textwidth]{logo.png}
\opening{\invoiceSalutation}
\invoiceText
\\%\vspace{1cm}
@@ -72,8 +79,7 @@
\begin{invoice}{Euro}{0}
\input{[[.Invoice]]}
\end{invoice}
- \ps Im ausgewiesenen Betrag ist gemäß § 19 UStG keine Umsatzsteuer
- enthalten.
+ \ps Im ausgewiesenen Betrag ist gemäß § 6 Abs UStG keine Umsatzsteuer auf grund der Kleinunternehmerregelung enthalten.
\closing{\invoiceClosing}
\invoiceEnclosures