template change to make listings umlaute save

This commit is contained in:
Dirk Alders 2025-08-16 16:18:29 +02:00
parent 40fa187237
commit 874af7b642

View File

@ -2,6 +2,8 @@
\documentclass[a4paper]{article}
%\documentclass[a4paper,landscape]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\renewcommand{\familydefault}{\sfdefault}
\usepackage[table]{xcolor}
\definecolor{orange}{rgb}{1, 0.7, 0}
@ -31,6 +33,16 @@
\setlength{\parskip}{9pt plus3pt minus3pt}
\usepackage{listings}
\lstset{literate=%
{Ö}{ {\"O} }1
{Ä}{ {\"A} }1
{Ü}{ {\"U} }1
{ß}{ {\ss} }1
{ü}{ {\"u} }1
{ä}{ {\"a} }1
{ö}{ {\"o} }1
{~}{ {\textasciitilde} }1
}
\usepackage{color}
\definecolor{bg-partially-covered}{rgb}{1,1,0.6} % light-yellow
\definecolor{bg-uncovered}{rgb}{1,0.8,0.8} % light-red