-
Notifications
You must be signed in to change notification settings - Fork 2
/
letter_options.lco
executable file
·65 lines (57 loc) · 2 KB
/
letter_options.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
%%
% (German) letter template by Jan-Philip Gehrcke
% http://gehrcke.de -- [email protected] -- November 2009
% Source: http://gehrcke.de/2009/12/latex-briefvorlage/
%%
\ProvidesFile{letter_options.lco}[letter-class-option file]
%% strikt DIN 5008:
%\RequirePackage[left=24.1mm,%
%right=24.1mm,%
%bottom=4.5cm%
%]{geometry}
% symbols: (cell)phone, email
\RequirePackage{marvosym}
% for gray color in header
\RequirePackage{color}
% for explanation and more options see scrguide @
% http://www.tex.ac.uk/tex-archive/macros/latex/contrib/koma-script/scrguide.pdf
% comment out, what you don't want (e.g. `fromphone`).
\KOMAoptions{
foldmarks=true,
foldmarks=BlmTP,
%fromurl=true,
fromemail=true,
fromphone=true,
fromalign=right,
fromrule=aftername,
%fromemail=true,
footsepline=off
}
% The header (sender) can be styled with `fromrule` (above)
% and with custom colors (e.g. see below) and with special font styles
% set by `\setkomafont` (e.g. see below, too)
% define gray for header
%\definecolor{mygray}{gray}{.55}
% define blue for address
%\definecolor{myblue}{rgb}{0.25,0.45,0.75}
\setkomavar{fromname}{Foo Bar}
\setkomafont{fromname}{\bfseries\LARGE}
%\setkomafont{fromrule}{\color{mygray}}
%\setkomafont{fromname}{\bfseries\color{mygray}\LARGE}
%\setkomafont{fromrule}{\color{mygray}}
%\setkomafont{addressee}{\small}
\setkomavar{fromaddress}{Straße 1\\12345 Stadt}
\setkomavar{fromphone}[Telefon: ]{+49\,123\,1234567}
\setkomavar{fromemail}{[email protected]}
%\setkomavar{fromurl}[]{http://url.de}
%\setkomafont{fromaddress}{\small\rmfamily\mdseries\slshape\color{myblue}}
\setkomavar{backaddressseparator}{\textperiodcentered}
%\setkomavar{backaddress}{Foo Bar, Straße 1, 12345 Stadt}
\setkomavar{signature}{Foo Bar}
% signature same indention level as rest
\renewcommand*{\raggedsignature}{\raggedright}
% space for signature
%\@setplength{sigbeforevskip}{1.7cm}
%\@setplength{sigbeforevskip}{11pt}
\@setplength{firstheadvpos}{17mm} % Abstand des Absenderfeldes vom Top
\endinput