From 5a19b348baacdf44d2ae47eb10fb17a903c3c600 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 23 Aug 2024 00:12:01 +0200 Subject: [PATCH] make hl works well by default on dark theme --- projektor.sty | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projektor.sty b/projektor.sty index 0610773..53b7758 100644 --- a/projektor.sty +++ b/projektor.sty @@ -130,7 +130,7 @@ \newcommand{\ul}[1]{\underline{\smash{#1}}} % Met en surbrillance du texte -\newcommand{\hl}[2][yellow]{\hspace{-2pt}\fboxsep2pt\colorbox{#1}{#2}\hspace{-2pt}} +\newcommand{\hl}[2][yellow]{\fboxsep0pt{\pgfsetfillopacity{0.5}\colorbox{#1}{\pgfsetfillopacity{1}\strut#2}}} % Avertissement par rapport à l'appendix \renewcommand\appendixname{Appendix}