From 115b83d1d9e76d98440ac3970a6126c1b636d857 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 4 Aug 2024 19:01:32 +0200 Subject: fix(templates/latex/letter): Improve standard latex settings --- templates/latex/letter/%INIT_APPLICATION_NAME.tex | 25 ++++++++--------------- 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/templates/latex/letter/%INIT_APPLICATION_NAME.tex b/templates/latex/letter/%INIT_APPLICATION_NAME.tex index 2037aa6..f85e8c7 100644 --- a/templates/latex/letter/%INIT_APPLICATION_NAME.tex +++ b/templates/latex/letter/%INIT_APPLICATION_NAME.tex @@ -7,43 +7,36 @@ \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{backaddressseparator}{\enspace\textperiodcentered\enspace} \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{fromzipcode}{00000} \setkomavar{place}{Musterort} + +\setkomavar{date}{\DTMToday} \setkomavar{signature}{%INIT_AUTHOR_NAME} \setkomavar{subject}{%INIT_APPLICATION_NAME_STYLIZED} - -\renewcommand*{\raggedsignature}{\raggedright} +\setkomavar{title}{Title?} \KOMAoptions{% addrfield=true, % Adress field for envelope with window backaddress=true, % Sender address in this window - enlargefirstpage=true, % More space on first page + enlargefirstpage=false, % 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 + 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 + 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 -- cgit 1.4.1