latex_resources_niklas/letter/latex_letter.tex

65 lines
2.6 KiB
TeX
Raw Normal View History

%----------------------------------------------------------------------------------------
% DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------
\documentclass[
pagenumber=false, % Removes page numbers from page 2 onwards when false
parskip=half, % Separates paragraphs with some whitespace, use parskip=full for more space or comment out to return to default
fromalign=right, % Aligns the from address to the right
foldmarks=true, % Prints small fold marks on the left of the page
2022-09-24 15:30:33 +00:00
addrfield=true, % Set to false to hide the addressee section - you will then want to adjust the height of the body of the letter on the page by adding the following in this section: \makeatletter \@setplength{refvpos}{\useplength{toaddrvpos}} \makeatletter
subject=beforeopening, % Placement of subject
firsthead=true % Sender address on top
]{scrlttr2}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel} % Explicitly load the babel package to stop an error occurring on some LaTeX installations
2023-10-31 14:47:55 +00:00
\usepackage[sfdefault]{roboto}
\renewcommand*{\raggedsignature}{\raggedright} % Stop the signature from indenting
%----------------------------------------------------------------------------------------
% YOUR INFORMATION AND LETTER DATE
%----------------------------------------------------------------------------------------
2022-07-10 20:44:59 +00:00
\setkomavar{fromname}{Vorname Nachname} % Your name used in the from address
2022-07-10 20:44:59 +00:00
\setkomavar{fromaddress}{Straße 1\\1235 Berlin} % Your address
2022-07-10 20:44:59 +00:00
\setkomavar{signature}{Signatur Name} % Your name used in the signature
2022-09-24 15:30:33 +00:00
\setkomavar{subject}{Betreff} % Subject
\date{\today} % Date of the letter
%----------------------------------------------------------------------------------------
\begin{document}
2023-10-31 14:47:55 +00:00
%----------------------------------------------------------------------------------------
% ADDRESSEE
%----------------------------------------------------------------------------------------
2023-10-31 14:47:55 +00:00
\begin{letter}{Marie Mustermann\\Musterstraße 1\\12345 Musterstadt} % Addressee name and address
2023-10-31 14:47:55 +00:00
%----------------------------------------------------------------------------------------
% LETTER CONTENT
%----------------------------------------------------------------------------------------
2023-10-31 14:47:55 +00:00
\opening{
Sehr geehrte Frau Mustermann
}
2023-10-31 14:47:55 +00:00
lorem ipsum.
2023-10-31 14:47:55 +00:00
\closing{Mit freundlichen Grüßen,}
2023-10-31 14:47:55 +00:00
\setkomavar*{enclseparator}{Anhang} % Change the default "encl:" to "Attached:"
\encl{Musternachweis, Apfelstrudelrezept} % Attached documents
2023-10-31 14:47:55 +00:00
%----------------------------------------------------------------------------------------
2023-10-31 14:47:55 +00:00
\end{letter}
2023-10-31 14:47:55 +00:00
\end{document}