![LaTeX 中“\deleted”不支持“\autoref”包中的“changes”](https://linux22.com/image/476070/LaTeX%20%E4%B8%AD%E2%80%9C%5Cdeleted%E2%80%9D%E4%B8%8D%E6%94%AF%E6%8C%81%E2%80%9C%5Cautoref%E2%80%9D%E5%8C%85%E4%B8%AD%E7%9A%84%E2%80%9Cchanges%E2%80%9D.png)
使用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$}'.