![划掉句子](https://linux22.com/image/235504/%E5%88%92%E6%8E%89%E5%8F%A5%E5%AD%90.png)
我不得不划掉一个句子,所以我按照以下的方式去做,这有点马虎。
$ \rlap{\textbf{-------------------------------------------------------------------------------------------------}}%
{\mbox{Its derivative should be}}$ $2z + 2\bar{z} =4Re[z]$ So are its critical points all over the real axis?
有没有更好的方法来做到这一点并获得相同的结果?
答案1
\documentclass{article}
\usepackage[normalem]{ulem} % either use this (simple) or
\usepackage{soul} % use this (many fancier options)
\begin{document}
% ulem command
\sout{Its derivative should be $2z + 2\bar{z} =4Re[z]$ So are its critical points all over the real axis?}
% soul command
\st{Its derivative should be $2z + 2\bar{z} =4Re[z]$ So are its critical points all over the real axis?}
\end{document}
答案2
您还可以使用 PDF 注释pdf评论包。然后您还可以添加评论/说明。
\documentclass{article}
\usepackage{xcolor}
\usepackage{pdfcomment}
\begin{document}
\pdfmarkupcomment[markup=StrikeOut,color=red,author=Approximist]{Its derivative should be $2z + 2\bar{z} =4Re[z]$ So are its critical points all over the real axis?}{comment}
\end{document}