-
Notifications
You must be signed in to change notification settings - Fork 0
/
absender.lco
90 lines (86 loc) · 3.01 KB
/
absender.lco
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
\ProvidesFile{sender.lco}[2010/07/08 letter class option]
\RequirePackage{fix-cm}
\RequirePackage[ngerman]{babel}
\RequirePackage{libertine}
\RequirePackage{parskip}
\RequirePackage{phonenumbers}
\RequirePackage{xspace}
\RequirePackage{graphicx}
\RequirePackage{hyperref}
\RequirePackage[ocgcolorlinks]{ocgx2}[2017/03/30]
\AtBeginDocument{{
\usekomavar[\def\komaauthor]{fromname}
\usekomavar[\def\komadate]{date}
\hypersetup{
unicode=false,
pdftoolbar=false,
pdfmenubar=true,
pdffitwindow=false,
pdfstartview={FitH},
pdftitle={Brief},
pdfauthor={\komaauthor},
pdfsubject={Brief vom \komadate},
pdfcreator={\komaauthor},
pdfproducer={lualatex mit github.com/jojomi/lualatex-brief}, % producer of the document
pdfkeywords={Brief},
pdfnewwindow=false,
pdfpagemode=None,
}
}}
\KOMAoptions{
paper=a4,
pagenumber=botcenter,
fromalign=right,
fromrule=afteraddress,
% fromphone,
% fromfax,
fromlogo,
% fromurl,
% fromemail,
backaddress,
foldmarks,
% headsepline,footsepline,
enlargefirstpage
}
\setkomavar{fromname}{Mein Name}
\setkomavar{fromaddress}{Teststr.~1\\89548~München}
%\setkomavar{backaddress}{Name\usekomavar{backaddressseparator}\usekomavar{fromaddress}}
%\setkomavar{backaddressseparator}{ · }
\setkomavar{fromphone}{\phonenumber[country=DE,area-code-sep=brackets]{089123456789}}
\setkomavar{fromphone}{\phonenumber[country=DE]{017123456798}}
%\setkomavar{fromfax}{\phonenumber[country=DE,foreign]{089123456787}}
\setkomavar{fromemail}{myemail@example.org}
\setkomavar{phoneseparator}[Tel.]{:~}
\setkomavar*{emailseparator}{}
\setkomavar{emailseparator}{}
\setkomavar{fromurl}{\url{https://example.org}}
\setkomavar*{urlseparator}{}
\setkomavar{urlseparator}{}
\setkomavar{frombank}{Eine Bank\\BLZ~123\,45\,678\\Kto~123456789}
\setkomavar{place}{Bremen}
\setkomavar{fromlogo}{\parbox[b]{8cm}{\usekomafont{fromaddress}%
{\mbox{\LARGE \bfseries \topic}}
\smallskip}
}
\setkomafont{backaddress}{\sffamily}
\setkomafont{fromaddress}{\sffamily}
\addtokomafont{fromname}{\scriptsize}
\addtokomafont{fromaddress}{\scriptsize}
\pagestyle{headings}
% ===== Signatur =====
% Keinen Platz für Unterschrift lassen
%\@setplength{sigbeforevskip}{0pt}
% Signatur mit Platz zum Unterschreiben
%\setkomavar{signature}{\usekomavar{fromname}}
% Signatur mit Unterschrift aus Datei (unterschrift.png)
\@setplength{sigbeforevskip}{0pt}
\setkomavar{signature}{\includegraphics[height=1.5cm]{unterschrift}\\\usekomavar{fromname}}
\renewcommand*{\raggedsignature}{\raggedright}
\newcommand*{\SignatureAndDate}[1]{%
\begin{minipage}[t]{.47\textwidth}
\vspace{2.5em}
\par\noindent\makebox[\textwidth]{\hrulefill}
\makebox[\textwidth][l]{ {\scshape \scriptsize Ort, Datum \hfill #1} }
\end{minipage}%
}%
% ====================