diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-04 19:01:32 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-04 19:01:32 +0200 |
commit | 115b83d1d9e76d98440ac3970a6126c1b636d857 (patch) | |
tree | 68002172906c83aa757fdf9002c2666330a9b0da | |
parent | fix(common/init): Also re-add execution permissions to the `watch.sh` script (diff) | |
download | flake-templates-115b83d1d9e76d98440ac3970a6126c1b636d857.tar.gz flake-templates-115b83d1d9e76d98440ac3970a6126c1b636d857.zip |
fix(templates/latex/letter): Improve standard latex settings
-rw-r--r-- | templates/latex/letter/%INIT_APPLICATION_NAME.tex | 25 |
1 files 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 |