about summary refs log tree commit diff stats
path: root/build/latex/letter/%INIT_APPLICATION_NAME.tex
blob: 2037aa6943d1d785d352fbd8d247a6821e9d3576 (plain) (blame)
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
% LTeX: language=%INIT_LANGUAGE
\documentclass[a4paper, version=last]{scrlttr2}
\usepackage{lmodern}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[%INIT_BABLE_LANGUAGE]{babel}
\usepackage{url}
\usepackage[%INIT_DATE_TIME_LANGUAGE, showdow]{datetime2} % make handling dates easier

\setkomafont{fromname}{\sffamily \LARGE}
\setkomafont{fromaddress}{\sffamily}%% statt \small
\setkomafont{pagenumber}{\sffamily}
\setkomafont{subject}{\bfseries}
\setkomafont{backaddress}{\mdseries}

\LoadLetterOption{DIN}
% \setkomavar{backaddressseparator}{\enspace\textperiodcentered\enspace}
% \setkomavar{backaddress}{%INIT_AUTHOR_NAME\\ PO Box 8421\\ Bachbrecht\\10007\\ Namibia}
\setkomavar{backaddressseparator}{ $\cdot$ }
\setkomavar{customer}{2342}
\setkomavar{date}{\DTMToday}
\setkomavar{enclseparator}{: }
\setkomavar{fromaddress}{Musterstraße 00\\00000 Musterort}
\setkomavar{fromemail}{%INIT_AUTHOR_EMAIL}
\setkomavar{fromname}{%INIT_AUTHOR_NAME}
\setkomavar{fromphone}{+49 0000 00\,00\,00\,0}
\setkomavar{place}{Musterort}
\setkomavar{signature}{%INIT_AUTHOR_NAME}
\setkomavar{subject}{%INIT_APPLICATION_NAME_STYLIZED}

\renewcommand*{\raggedsignature}{\raggedright}

\KOMAoptions{%
    addrfield=true,           % Adress field for envelope with window
    backaddress=true,         % Sender address in this window
    enlargefirstpage=true,    % More space on first page
    foldmarks=true,           % Print foldmarks?
    footsepline=true,         % separate the footer with a line on page >1
    fromalign=center,         % alignment of the address
    % fromalign=right,          % Placement of name in letter head
    fromemail=true,           % print sender e-mail address
    fromfax=false,            % print sender fax number
    fromlogo=false,           % print a logo (position depends on fromalign)
    fromphone=true,           % print sender phone number
    fromrule=afteraddress,    % separate the address with a line?
    % fromrule=aftername,       % Rule after sender name in letter head
    fromurl=false,            % print sender URL
    headsepline=true,         % separate the header with a line on page >1
    locfield=narrow,          % Additional field for sender
    pagenumber=botright,      % position of the page number (see docu)
    paper=a4,                 % pagesize
    parskip=half,             % Use indent instead of skip
    refline=wide,             % layout of the refline
    subject=beforeopening,    % Placement of subject
}

\begin{document}

\begin{letter}{Director \\ Doe \& Co \\ 35 Anthony Road \\ Newport \\ Ipswich IP3 5RT}
	\opening{Dear Sir or Madam,}

	I am writing to you on behalf of the Wikipedia project
	(\url{http://www.wikipedia.org/}), an endeavour to build a
	fully-fledged multilingual encyclopaedia in an entirely open
	manner, to ask for permission to use your copyrighted material.

	\ldots

	That said, allow me to reiterate that your material will be used
	to the noble end of providing a free collection of knowledge for
	everyone; naturally enough, only if you agree. If that is the
	case, could you kindly fill in the attached form and post it back
	to me? We shall greatly appreciate it.

	Thank you for your time and consideration.

	I look forward to your reply.

	\closing{Yours Faithfully,}
	\ps{P.S. You can find the full text of GFDL license at
		\url{http://www.gnu.org/copyleft/fdl.html}.}
	\encl{Copyright permission form}

\end{letter}

\end{document}