From 2267d43209e31884fbef3f60cda5f6b87d53bd55 Mon Sep 17 00:00:00 2001 From: lukas-heilgenbrunner Date: Thu, 23 Mar 2023 13:46:01 +0100 Subject: [PATCH] set used fonts manually --- presentation/main.tex | 35 ++++++++--------------------------- 1 file changed, 8 insertions(+), 27 deletions(-) diff --git a/presentation/main.tex b/presentation/main.tex index c48eeb1..2a664e7 100644 --- a/presentation/main.tex +++ b/presentation/main.tex @@ -3,7 +3,7 @@ % Struktur und Pointer Referat % 20.04.2020 %---------------------------------------------------------------------------------------- -\usetheme{focus} +\usetheme[nofirafonts]{focus} \usepackage[utf8]{inputenc} @@ -15,10 +15,16 @@ \usepackage{bbm} \usepackage{hyperref} \usepackage{graphicx} -\usepackage{listings} \usepackage{xcolor} \usepackage{mathtools} +\RequirePackage[T1]{fontenc} + +\PassOptionsToPackage{sfdefault}{FiraSans} +\RequirePackage{FiraSans} + +\RequirePackage{FiraMono} + % Farbdefinitionen \definecolor{backgroundcoloreq}{RGB}{180,140,0} \definecolor{codegreen}{rgb}{0,0.6,0} @@ -30,31 +36,6 @@ \DeclareMathAlphabet{\mathcal}{OMS}{cmbrs}{m}{n} -\lstset{ - language=C, - basicstyle=\ttfamily, - numbers=left, - numberstyle=\tiny, - tabsize=4, - columns=fixed, - showstringspaces=false, - showtabs=false, - breaklines=true, - keepspaces, - morekeywords={std}, - keywordstyle=\color{blue}\ttfamily, - stringstyle=\color{red}\ttfamily, - commentstyle=\color{OliveGreen!85}\ttfamily, - numberstyle=\tiny\color{codegray}, - basicstyle=\footnotesize\selectfont\ttfamily, -% keyword highlighting - classoffset=1, % starting new class - otherkeywords={>,<,.,;,-,+,!,=,~,:,[,],NULL,&}, - morekeywords={>,<,.,;,-,+,!,=,~,:,[,],NULL,&}, - keywordstyle=\color{codeorange}, - classoffset=0 -} - %---------------------------------------------------------------------------------------- % TITLE SLIDE %----------------------------------------------------------------------------------------