latex_resources_niklas/letter/latex_letter.tex

79 lines
3.0 KiB
TeX

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Elmueller Formal Letter
% LaTeX Template
% Version 1.3 (20/11/16)
%
% This template has been downloaded from:
% http://www.LaTeXTemplates.com
%
% Original author:
% Micha Elmueller (http://micha.elmueller.net/) with modifications by
% Vel (vel@LaTeXTemplates.com)
%
% License:
% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%----------------------------------------------------------------------------------------
% 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
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
]{scrlttr2}
\usepackage[T1]{fontenc} % For extra glyphs (accents, etc)
\usepackage{stix} % Use the Stix font by default
\usepackage[ngerman]{babel} % Explicitly load the babel package to stop an error occurring on some LaTeX installations
\renewcommand*{\raggedsignature}{\raggedright} % Stop the signature from indenting
%----------------------------------------------------------------------------------------
% YOUR INFORMATION AND LETTER DATE
%----------------------------------------------------------------------------------------
\setkomavar{fromname}{Niklas Birk} % Your name used in the from address
\setkomavar{fromaddress}{Agricolastrasse 16, Zi. 2607\\09599 Freiberg} % Your address
\setkomavar{signature}{Niklas Birk} % Your name used in the signature
\date{\today} % Date of the letter
%----------------------------------------------------------------------------------------
\begin{document}
%----------------------------------------------------------------------------------------
% ADDRESSEE
%----------------------------------------------------------------------------------------
\begin{letter}{Marie Mustermann\\Musterstraße 1\\12345 Musterstadt} % Addressee name and address
%----------------------------------------------------------------------------------------
% LETTER CONTENT
%----------------------------------------------------------------------------------------
\opening{
\textbf{Lorem Ipsum}\\ [1cm]
Sehr geehrte Frau Mustermann
}
lorem ipsum.
\closing{Mit freundlichen Grüßen,}
\setkomavar*{enclseparator}{Anhang} % Change the default "encl:" to "Attached:"
\encl{Musternachweis, Apfelstrudelrezept} % Attached documents
%----------------------------------------------------------------------------------------
\end{letter}
\end{document}