![使用“todonotes”包中的“author”选项时出错](https://linux22.com/image/290462/%E4%BD%BF%E7%94%A8%E2%80%9Ctodonotes%E2%80%9D%E5%8C%85%E4%B8%AD%E7%9A%84%E2%80%9Cauthor%E2%80%9D%E9%80%89%E9%A1%B9%E6%97%B6%E5%87%BA%E9%94%99.png)
我正在尝试使用包提供的命令author
中的选项。手册中明确提到了这一点。以下是代码片段及其产生的错误:\todo
todonotes
片段:
\usepackage{todonotes}
\todo[author=Doe]{This is a comment.}
错误:
! Package xkeyval Error: `author' undefined in families `todonotes'.
See the xkeyval package documentation for explanation.
答案1
可能您必须todonotes
从其来源更新软件包todonotes.dtx
:
% \changes{0.9.9}{2011/10/22}{Added author option, implementation provided by
% Xavier Alameda-Pineda. [...]