Add subject to letter

This commit is contained in:
Niklas Birk 2022-09-24 17:30:33 +02:00
parent 237b716113
commit da20d44b26
2 changed files with 5 additions and 2 deletions

Binary file not shown.

View File

@ -7,7 +7,9 @@ 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
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[utf8]{inputenc} %Das Dokument soll UTF-8-Format nutzen (wegen deutschen Umlauten).
@ -30,6 +32,8 @@ addrfield=true % Set to false to hide the addressee section - you will then want
\setkomavar{signature}{Signatur Name} % Your name used in the signature
\setkomavar{subject}{Betreff} % Subject
\date{\today} % Date of the letter
%----------------------------------------------------------------------------------------
@ -46,7 +50,6 @@ addrfield=true % Set to false to hide the addressee section - you will then want
%----------------------------------------------------------------------------------------
\opening{
\textbf{Lorem Ipsum}\\ [1cm]
Sehr geehrte Frau Mustermann
}