-
Notifications
You must be signed in to change notification settings - Fork 0
/
BusinessScrLetter.tex
129 lines (117 loc) · 3.38 KB
/
BusinessScrLetter.tex
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
\documentclass
[fontsize=11pt,
paper=a4,
% enlargefirstpage=on,
% pagenumber=headright,
%--------------- Layout -------------------------------------------------
headsepline=off,
parskip=half,
fromalign=right,% Place of the letterhead
fromphone=on,% Show phone numer
fromrule=aftername,% Show rule
fromfax=on,% Show fax number
fromemail=on,% Show mail address
fromurl=off,% Show Homepage
fromlogo=on,% Show logo
addrfield=on,% Show receiver address field
backaddress=on,% Show sender in receiver address field
subject=beforeopening,% Location of the letter subject
locfield=narrow,% Additional sender field
foldmarks=on,% Show folding location
numericaldate=off,% Date format
refline=narrow,%
firstfoot=on,% Add a footer
%---------------------------------------------------------------------------
draft=off% Draft mode
]{scrlttr2}
\usepackage[english, ngerman]{babel}
\usepackage{lmodern}
\usepackage[utf8x]{inputenc}
\usepackage{ucs}
\usepackage{tabularx}
\usepackage{colortbl} % used for a colored header
\RequirePackage{marvosym} % for symbols used in the header
\usepackage[T1]{fontenc}
% Font config
\renewcommand*\familydefault{\sfdefault} % Latin Modern Sans
\setkomafont{fromname}{\sffamily\color{headerGrey}\LARGE}
\setkomafont{pagenumber}{\sffamily}
\setkomafont{subject}{\mdseries}
\setkomafont{backaddress}{\mdseries}
\setkomafont{fromaddress}{\small\sffamily\mdseries\color{headerGrey}}
\begin{document}
% Letter style
\LoadLetterOption{DIN} % or: DINmtext, SN, SNleft, KOMAold.
% Define header grey
\definecolor{headerGrey}{gray}{.55}
% SENDER Data
\setkomavar{fromname}{SENDER NAME}
\newcommand{\fromnameShort}{SHORT SENDERNAME}
\setkomavar{fromaddress}{STREET\\TOWN}
\setkomavar{fromphone}[\Mobilefone~]{PHONE}
\setkomavar{fromfax}[\FAX~]{FAX}
\setkomavar{fromemail}[\Letter~]{MAIL}
%\setkomavar{fromurl}[]{HOMEPAGE URL}
\setkomavar{backaddressseparator}{ - }
%\setkomavar{backaddress}{} % override back address
\setkomavar{signature}{SIGNATURE}
% Pagestyle
\pagestyle{plain} % no header
\pagenumbering{arabic}
\makeatletter
\@setplength{sigbeforevskip}{1cm} % More space between greeting and signature
\makeatother
\renewcommand*{\raggedsignature}{\raggedright} % match signature indention level to the rest of the text
% Footer
\firstfoot{\footnotesize
\rule[3pt]{\textwidth}{.4pt} \\
\begin{tabular}[t]{l@{}}
% Contact
\textbf{Contact:}\\
\fromnameShort\\
\usekomavar{fromaddress}\\
\end{tabular}
\hfill
\begin{tabular}[t]{l@{}}
% Tax notice
\textbf{Tax notice:}\\
GERMAN TAX NUMBER\\
INTERNATIONAL TAX NUMBER\\
\end{tabular}
\hfill
\begin{tabular}[t]{l@{}}
% Bank contact
\textbf{Bank contact:}\\
BANKNAME\\
IBAN: \\
BIC:
\end{tabular}
}
% Labels
\setkomavar{yourref}[CUSTOMLABEL]{text}
\setkomavar{yourmail}{text}
\setkomavar{myref}{text}
%\setkomavar{customer}{}
%\setkomavar{invoice}{}
\setkomavar{date}{\today}
\setkomavar{place}{PLACE}
\begin{letter}
{
ADDRESS RECEIVER
}
%---------------------------------------------------------------------------
\setkomavar{subject}{\textbf{SUBJECT}}
%---------------------------------------------------------------------------
\opening{GREETING}
TEXT
\vspace{5pt}
\closing{CLOSING}
% \renewcaptionname{ngerman}{\enclname}{Anlage} % Rename attachment text
\setkomavar{enclseparator}[\sffamily\bfseries\enclname]{}
% Attachment list
\encl{ }
% Additional options
% \ps{PS:}
% \cc{}
\end{letter}
\end{document}