\autoref
. I have tried redefining the command, which works fine for the standard \underline
command. To improve on spacing, I tried to use \smash
, but that breaks clickability.My question is: how can I get
\autoref
to work with ulem or soul? Both attempts result in an Extra }... error. I have tried \texorpdfstring
, without any lack.Code: Select all
\let\Oldautoref\autoref
\renewcommand{\autoref}[1]{\texorpdfstring{\uline{\Oldautoref{#1}}}{\Oldautoref{#1}}
\autoref
's internals?