forked from jgehrcke/latex-briefvorlage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
brief.tex
69 lines (54 loc) · 2.57 KB
/
brief.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
\documentclass[paper=a4,fontsize=12pt]{scrartcl}
\usepackage{fontspec}
\usepackage{libertine}
\usepackage{microtype}
\usepackage{polyglossia}
\setdefaultlanguage[spelling=new, babelshorthands=true]{german}
\usepackage{changepage}
\usepackage[babel,german=quotes]{csquotes}
% Bis KOMA-Script 3.11b war das Paket scrpage2 das Mittel der Wahl, wenn es
% darum ging, den Kopf und den Fuß der Seite über das hinaus zu verändern, was
% die KOMA-Script-Klassen mit den Seitenstilen headings, myheadings, plain und
% empty boten. Bis 2001 gab es dafür auch noch das Paket scrpage, das aber seit
% 2013 nicht mehr mit KOMA-Script zusammen erteilt wird. Seit 2013 ist das Paket
% scrlayer als neuer, grundlegender Baustein in KOMA-Script enthalten.
% Siehe auch http://www.komascript.de/node/1490#comment-3940
\usepackage{scrletter}
\LoadLetterOption{brief-absender}
%\changepage{text height}{text width}{even-side margin}
%{odd-side margin}{column sep.}
%{topmargin}{headheight}{headsep}{footskip}
\changepage{+3cm}{}{}{}{}{}{}{}{-5cm}
\renewcommand{\familydefault}{\sfdefault}
\setkomavar{subject}{Ein wichtiger Betreff}
\setkomavar{place}{Hamburg}
\setkomavar{date}{29. August 2019}
% Nicht den ersten Satz im Absatz einrücken.
\setlength{\parindent}{0pt}
\begin{document}
\begin{letter}{
Erich Empfänger\\
Alter Weg 66 \\
30160 Hannover
}
\opening{Sehr geehrter Herr Empfänger,}
für Ihren Auftrag bedanke ich mich und berechne für meine Leistungen rein gar
nichts! Ein paar Worte mit Sonderzeichen: eine ähnliche Öffnung kostet
125,00\,€. Thema \enquote{Anführungszeichen}: dafür benutzen wir die
enquote-Direktive vom csquotes-Paket, siehe Quelltext.
% Alle weiteren Absätze sollen eingerückt sein.
% Guter Artikel:
% https://practicaltypography.com/first-line-indents.html
\setlength{\parindent}{20pt}
Das ist ein neuer Absatz. Er ist dadurch gekennzeichnet, dass die erste Zeile
eingerückt ist. Es folgt das Lorem Ipsum: Lorem ipsum dolor sit amet,
consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et
dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco
laboris nisi ut aliquip ex ea commodo consequat.
Ein weiterer Absatz. At vero eos et accusamus et iusto odio dignissimos ducimus
qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et
quas molestias excepturi sint occaecati cupiditate non provident, similique sunt
in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
\closing{Mit freundlichen Grüßen}
\end{letter}
\end{document}