I am trying to use the \hl command to highlight a subsection and subsubsection title.
I have tried wrapping the commands in a \mbox or between parenthesis but it doesn't seem to work. They worked with the \ref and \cite commands.
This is what I tried:
\hl{\mbox{\subsection{Section1}}}
\hl{{\subsection{Section1}}}

cas-dcclass file? – WhoCares Apr 18 '22 at 12:13