LETTER: add package inputenc with utf8 encoding for special german characters; set main font to roboto

This commit is contained in:
Niklas Birk 2022-06-17 17:36:57 +02:00
parent a9e8fe2f6b
commit 3d2980ac8e
2 changed files with 6 additions and 20 deletions

Binary file not shown.

View File

@ -1,20 +1,3 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 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
%----------------------------------------------------------------------------------------
@ -27,11 +10,14 @@ 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[utf8]{inputenc} %Das Dokument soll UTF-8-Format nutzen (wegen deutschen Umlauten).
\usepackage[T1]{fontenc}
\usepackage{fontspec}
\usepackage[ngerman]{babel} % Explicitly load the babel package to stop an error occurring on some LaTeX installations
\setmainfont{Roboto}
\renewcommand*{\raggedsignature}{\raggedright} % Stop the signature from indenting
%----------------------------------------------------------------------------------------
@ -40,7 +26,7 @@ addrfield=true % Set to false to hide the addressee section - you will then want
\setkomavar{fromname}{Niklas Birk} % Your name used in the from address
\setkomavar{fromaddress}{Agricolastrasse 16, Zi. 2607\\09599 Freiberg} % Your address
\setkomavar{fromaddress}{Agricolastraße 16, Zi. 2607\\09599 Freiberg} % Your address
\setkomavar{signature}{Niklas Birk} % Your name used in the signature