set used fonts manually

This commit is contained in:
lukas-heilgenbrunner 2023-03-23 13:46:01 +01:00
parent 25b84b5ed4
commit 2267d43209

View File

@ -3,7 +3,7 @@
% Struktur und Pointer Referat % Struktur und Pointer Referat
% 20.04.2020 % 20.04.2020
%---------------------------------------------------------------------------------------- %----------------------------------------------------------------------------------------
\usetheme{focus} \usetheme[nofirafonts]{focus}
\usepackage[utf8]{inputenc} \usepackage[utf8]{inputenc}
@ -15,10 +15,16 @@
\usepackage{bbm} \usepackage{bbm}
\usepackage{hyperref} \usepackage{hyperref}
\usepackage{graphicx} \usepackage{graphicx}
\usepackage{listings}
\usepackage{xcolor} \usepackage{xcolor}
\usepackage{mathtools} \usepackage{mathtools}
\RequirePackage[T1]{fontenc}
\PassOptionsToPackage{sfdefault}{FiraSans}
\RequirePackage{FiraSans}
\RequirePackage{FiraMono}
% Farbdefinitionen % Farbdefinitionen
\definecolor{backgroundcoloreq}{RGB}{180,140,0} \definecolor{backgroundcoloreq}{RGB}{180,140,0}
\definecolor{codegreen}{rgb}{0,0.6,0} \definecolor{codegreen}{rgb}{0,0.6,0}
@ -30,31 +36,6 @@
\DeclareMathAlphabet{\mathcal}{OMS}{cmbrs}{m}{n} \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 % TITLE SLIDE
%---------------------------------------------------------------------------------------- %----------------------------------------------------------------------------------------