Live2D

Latex changes包无法使用的替代方法

\usepackage[normalem]{ulem}
\usepackage{xcolor}
\newcommand{\add}[1]{\textcolor{blue}{#1}}
\newcommand{\delete}[1]{\textcolor{red}{\sout{#1}}}
\newcommand{\replace}[2]{\delete{#1}~\add{#2}}

使用方法
This is \add{added text}, and this is \delete{deleted text}.
Here is a \replace{wrong}{correct} example.

posted @ 2024-12-04 10:53  EchoCxk  阅读(15)  评论(0编辑  收藏  举报