about summary refs log tree commit diff stats
path: root/templates/latex/letter/%INIT_APPLICATION_NAME.tex
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-03 20:52:28 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-03 20:53:04 +0200
commit87f57f8fd676d37b6aa5d1b3a85197ac59cb1eb4 (patch)
tree816c7ef5fdcf46f9d809a53203c5d0a7536858c7 /templates/latex/letter/%INIT_APPLICATION_NAME.tex
parentfix(common/init): Actually ask the user for the license ident (diff)
downloadflake-templates-87f57f8fd676d37b6aa5d1b3a85197ac59cb1eb4.tar.gz
flake-templates-87f57f8fd676d37b6aa5d1b3a85197ac59cb1eb4.zip
feat(templates/latex/letter): Init
Diffstat (limited to 'templates/latex/letter/%INIT_APPLICATION_NAME.tex')
-rw-r--r--templates/latex/letter/%INIT_APPLICATION_NAME.tex86
1 files changed, 86 insertions, 0 deletions
diff --git a/templates/latex/letter/%INIT_APPLICATION_NAME.tex b/templates/latex/letter/%INIT_APPLICATION_NAME.tex
new file mode 100644
index 0000000..2037aa6
--- /dev/null
+++ b/templates/latex/letter/%INIT_APPLICATION_NAME.tex
@@ -0,0 +1,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}