Added custom underline

This commit is contained in:
Lukas Pietzschmann
2022-12-07 22:16:39 +01:00
parent 3166565147
commit a098ec01c2

View File

@@ -8,6 +8,10 @@
\usepackage{listings} \usepackage{listings}
\usepackage{contour}
\usepackage{ulem}
\usepackage{underscore} \usepackage{underscore}
\lstdefinestyle{animateblocks}{ \lstdefinestyle{animateblocks}{
@@ -50,6 +54,13 @@
} }
} }
\renewcommand{\ULdepth}{1.8pt}
\contourlength{0.8pt}
\newcommand{\gul}[1]{%
\uline{\phantom{#1}}%
\llap{\contour{white}{#1}}%
}
\makeatletter \makeatletter
\def\beamer@calltheme#1#2#3{ \def\beamer@calltheme#1#2#3{
\def\beamer@themelist{#2} \def\beamer@themelist{#2}