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}