Skip to content
Snippets Groups Projects
Commit da011f1b authored by Jan Wille's avatar Jan Wille
Browse files

fix package hooks for listings

parent 45a6831c
No related branches found
No related tags found
No related merge requests found
......@@ -1089,8 +1089,8 @@ http://www.latex-project.org/lppl.txt
% \pkg{scrhack} package. We also pass some configurations to if if it gets loaded.
% \begin{macrocode}
\RequirePackage{scrhack}
\AddToHook{package/siunitx/before}{\RequirePackage{xcolor}}
\AddToHook{package/siunitx/after}{
\AddToHook{package/listings/before}{\RequirePackage{xcolor}}
\AddToHook{package/listings/after}{
\lstset{
commentstyle=\color{gray},
keywordstyle=\color{FireBrick}\bfseries,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment