如何给latex加批注

编辑说要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

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值