编辑说要highlight修改部分,但是latex没有word的批注功能。网上看到了latexdiff,但是这种高级的东西不适合小白入手。发现了另一个还挺好用的办法,不需要安装,直接入手。
参考中文:https://www.latexstudio.net/archives/8903.html
参考英文:https://tex.stackexchange.com/questions/65453/track-changes-in-latex
开头添加:
\documentclass{article}
\usepackage{changes}
\definechangesauthor[name={Per cusse}, color=orange]{per}
\setremarkmarkup{(#2)}
修改时:
\begin{document}
This is \added[id=per,remark={we need this}]{new} text.
This is \added[remark={has to be in it}]{new} text.
This is \deleted[id=per,remark=obsolete]{unnecessary}text.
This is \replaced{nice}{bad} text.
\listofchanges
\end{document}
提交版:
\usepackage[final]{changes}
修改列表:
\listofchanges