我正在写一篇科学论文(模式识别信函模板),对于修订,我正在使用软件包更改。在下面的代码中,不会生成更改列表:我使用了 texStudio 和 texShop。
\documentclass{article}
\usepackage{changes}
\usepackage{lipsum}% <- For dummy text
\definechangesauthor[name={R G}, color=red]{rg}
\setremarkmarkup{(#2)}
\begin{document}
\lipsum[2-3]
I eat \added[id=rg,remark={we need a preposition an}]{an} apple
I buy \deleted[id=rg,remark={don't use a with plural}]{a} books.
I buy \replaced[id=rg, remark={be positive}]{nice}{bad} car.
\listofchanges[style=<list|summary>]
\end{document}
答案1
大胆猜测一下:您正在使用该final
选项吗?
\documentclass[
% final,
]{elsarticle}
\usepackage{changes}
\definechangesauthor[name={R G}, color=red]{rg}
\setremarkmarkup{(#2)}
\begin{document}
I eat \added[id=rg,remark={we need a preposition an}]{an} apple
I buy \deleted[id=rg,remark={don't use a with plural}]{a} books.
I buy \replaced[id=rg, remark={be positive}]{nice}{bad} car.
\listofchanges[style=<list|summary>]
\end{document}