From 894f86be3f59c56b75b2e300794f757413c6aa18 Mon Sep 17 00:00:00 2001 From: Lukas Pietzschmann Date: Thu, 22 Dec 2022 20:41:56 +0100 Subject: [PATCH] listings now use FiraCode as their font --- beamerthemeawesome.sty | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/beamerthemeawesome.sty b/beamerthemeawesome.sty index 3c7239c..d600a88 100644 --- a/beamerthemeawesome.sty +++ b/beamerthemeawesome.sty @@ -46,11 +46,14 @@ \RequirePackage{hyperref} \RequirePackage{listings} +\RequirePackage[verbatim=true]{lstfiracode} \lstdefinestyle{animateblocks}{ - basicstyle=\color{black!20}, + basicstyle=\ttfamily\color{black!20}, moredelim=**[is][\only<+>{\color{black}}]{@}{@}, } \lstset{ + style=FiraCodeStyle, + basicstyle=\ttfamily, commentstyle=\color{gray}\itshape, keywordstyle=\bfseries, escapeinside={}, @@ -262,6 +265,9 @@ Ligatures=TeX, BoldFont={* Medium}, ]{Fira Sans} +\setmonofont[ + Contextuals=Alternate +]{Fira Code} \setbeamerfont{title}{ size=\LARGE,