listings now use FiraCode as their font
This commit is contained in:
@@ -46,11 +46,14 @@
|
|||||||
\RequirePackage{hyperref}
|
\RequirePackage{hyperref}
|
||||||
|
|
||||||
\RequirePackage{listings}
|
\RequirePackage{listings}
|
||||||
|
\RequirePackage[verbatim=true]{lstfiracode}
|
||||||
\lstdefinestyle{animateblocks}{
|
\lstdefinestyle{animateblocks}{
|
||||||
basicstyle=\color{black!20},
|
basicstyle=\ttfamily\color{black!20},
|
||||||
moredelim=**[is][\only<+>{\color{black}}]{@}{@},
|
moredelim=**[is][\only<+>{\color{black}}]{@}{@},
|
||||||
}
|
}
|
||||||
\lstset{
|
\lstset{
|
||||||
|
style=FiraCodeStyle,
|
||||||
|
basicstyle=\ttfamily,
|
||||||
commentstyle=\color{gray}\itshape,
|
commentstyle=\color{gray}\itshape,
|
||||||
keywordstyle=\bfseries,
|
keywordstyle=\bfseries,
|
||||||
escapeinside={<!}{!>},
|
escapeinside={<!}{!>},
|
||||||
@@ -262,6 +265,9 @@
|
|||||||
Ligatures=TeX,
|
Ligatures=TeX,
|
||||||
BoldFont={* Medium},
|
BoldFont={* Medium},
|
||||||
]{Fira Sans}
|
]{Fira Sans}
|
||||||
|
\setmonofont[
|
||||||
|
Contextuals=Alternate
|
||||||
|
]{Fira Code}
|
||||||
|
|
||||||
\setbeamerfont{title}{
|
\setbeamerfont{title}{
|
||||||
size=\LARGE,
|
size=\LARGE,
|
||||||
|
|||||||
Reference in New Issue
Block a user