【LaTeX修訂模式】
參考:「"Track changes" in LaTeX」,https://tex.stackexchange.com/questions/65453/track-changes-in-latex
\documentclass{article}
\usepackage{changes}%\usepackage[final]{changes}接受修訂
\usepackage{lipsum}% <- For dummy text
\definechangesauthor[name={Per cusse}, color=orange]{per}
\setcommentmarkup{(#2)}
\begin{document}
\lipsum[1]
This is \added[id=per,comment={we need this}]{new} text.
This is \added[id=per,comment={has to be in it}]{new} text.
This is \deleted[id=per,comment=obsolete]{unnecessary}text.
This is \replaced[id=per]{nice}{bad} text.
\lipsum[2-7]
This is \added{additional} text.
This is \added[comment={has to be in it}]{new} text.
This is \deleted[comment=obsolete]{unnecessary}text.
This is \replaced{nice}{bad} text.
\listofchanges %編譯兩遍方能顯示
\end{document}
- 复制链接
- 举报