From e8dfaa9a73a461c4c78fc0459e233420c161f5d9 Mon Sep 17 00:00:00 2001 From: Dirk Alders Date: Wed, 6 Aug 2025 18:29:07 +0200 Subject: [PATCH] T1 fontencoding for listing --- templates/unittest_head.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/unittest_head.tex b/templates/unittest_head.tex index ea03899..30701e8 100644 --- a/templates/unittest_head.tex +++ b/templates/unittest_head.tex @@ -41,7 +41,7 @@ \definecolor{mymauve}{rgb}{0.58,0,0.82} \lstset{ % backgroundcolor=\color{white}, % choose the background color; you must add \usepackage{color} or \usepackage{xcolor}; should come as last argument - basicstyle=\footnotesize, % the size of the fonts that are used for the code + basicstyle=\footnotesize\fontencoding{T1}\selectfont, % the size of the fonts that are used for the code and fontencoding to T1 breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace breaklines=true, % sets automatic line breaking captionpos=b, % sets the caption-position to bottom