LaTeX 中“\deleted”不支持“\autoref”包中的“changes”

LaTeX 中“\deleted”不支持“\autoref”包中的“changes”

使用changes包时,\deleted命令不支持\autoref,但是\added支持,是什么原因?

\documentclass{article}
\usepackage{changes}
\usepackage{hyperref}
\begin{document}
\begin{equation}
    \label{eq1}
    a+b=c
\end{equation}
\added{\autoref{eq1}}
\deleted{hello\autoref{eq1}}

\end{document}

在此处输入图片描述

错误是

\UL@stop ...z@ \else \UL@putbox \fi \else \egroup 
                                                  \egroup \UL@putbox \fi \if...
l.10 \deleted{hello\autoref{eq1}}
                                 
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.

相关内容