make hl works well by default on dark theme

This commit is contained in:
Mylloon 2024-08-23 00:12:01 +02:00
parent c70700a2d9
commit 5a19b348ba
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -130,7 +130,7 @@
\newcommand{\ul}[1]{\underline{\smash{#1}}} \newcommand{\ul}[1]{\underline{\smash{#1}}}
% Met en surbrillance du texte % 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 % Avertissement par rapport à l'appendix
\renewcommand\appendixname{Appendix} \renewcommand\appendixname{Appendix}