2016-07-20 23:06:24 +02:00
|
|
|
\documentclass[
|
2022-12-19 22:56:33 +01:00
|
|
|
$if(phone)$ fromphone,$endif$
|
|
|
|
$if(email)$ fromemail,$endif$
|
2019-08-24 19:31:39 +02:00
|
|
|
$for(letteroption)$
|
|
|
|
$letteroption$$sep$,
|
|
|
|
$endfor$
|
2016-07-20 23:06:24 +02:00
|
|
|
]{scrlttr2}
|
|
|
|
|
|
|
|
\usepackage[ngerman]{babel}
|
|
|
|
\usepackage[T1]{fontenc}
|
|
|
|
\usepackage[utf8]{inputenc}
|
|
|
|
|
2018-09-04 12:34:07 +02:00
|
|
|
\usepackage{csquotes} % German quotation marks
|
2016-07-20 23:06:24 +02:00
|
|
|
|
|
|
|
\usepackage{graphics}
|
|
|
|
|
2017-06-17 07:27:26 +02:00
|
|
|
\usepackage{booktabs}
|
2017-06-17 07:35:59 +02:00
|
|
|
\usepackage{longtable}
|
|
|
|
|
|
|
|
\usepackage[right]{eurosym}
|
2017-06-17 07:24:59 +02:00
|
|
|
|
2018-02-21 09:45:28 +01:00
|
|
|
\providecommand{\tightlist}{%
|
|
|
|
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
|
|
|
|
|
2016-07-20 23:06:24 +02:00
|
|
|
\makeatletter
|
|
|
|
\setlength{\@tempskipa}{-1.2cm}%
|
|
|
|
\@addtoplength{toaddrheight}{\@tempskipa}
|
|
|
|
\makeatother
|
|
|
|
|
|
|
|
\setlength{\oddsidemargin}{\useplength{toaddrhpos}}
|
|
|
|
\addtolength{\oddsidemargin}{-1in}
|
|
|
|
\setlength{\textwidth}{\useplength{firstheadwidth}}
|
|
|
|
|
|
|
|
\begin{document}
|
|
|
|
\setkomavar{fromname}{$author$}
|
|
|
|
\renewcommand*{\raggedsignature}{\raggedright}
|
|
|
|
\setkomavar{fromaddress}{
|
|
|
|
$for(return-address)$
|
|
|
|
$return-address$$sep$\\
|
|
|
|
$endfor$
|
|
|
|
}
|
|
|
|
\setkomavar{fromphone}{$phone$}
|
|
|
|
\setkomavar{fromemail}{$email$}
|
|
|
|
\setkomavar{signature}{$author$}
|
|
|
|
|
2019-10-27 11:10:10 +01:00
|
|
|
$if(date)$\setkomavar{date}{$date$}$endif$
|
2016-07-20 23:06:24 +02:00
|
|
|
\setkomavar{place}{$place$}
|
|
|
|
|
2019-08-24 19:31:39 +02:00
|
|
|
$if(subject)$\setkomavar{subject}{$subject$}$endif$
|
2016-07-20 23:06:24 +02:00
|
|
|
|
|
|
|
\begin{letter}{%
|
|
|
|
$for(address)$
|
|
|
|
$address$$sep$\\
|
2019-09-15 11:03:11 +02:00
|
|
|
$endfor$}
|
2016-07-20 23:06:24 +02:00
|
|
|
|
|
|
|
\opening{$opening$}
|
|
|
|
|
|
|
|
$body$
|
|
|
|
|
|
|
|
\closing{$closing$}
|
|
|
|
|
2022-12-19 21:55:30 +01:00
|
|
|
$if(ps)$\ps $ps$$endif$
|
2016-07-20 23:06:24 +02:00
|
|
|
|
2019-10-21 17:57:51 +02:00
|
|
|
$if(enclosed)$
|
2022-12-19 22:57:36 +01:00
|
|
|
\setkomavar*{enclseparator}{Anlage(n)}
|
2019-10-21 17:57:51 +02:00
|
|
|
\encl{$enclosed$}
|
2016-07-20 23:06:24 +02:00
|
|
|
$endif$
|
|
|
|
\end{letter}
|
|
|
|
\end{document}
|