答案1
\draw
这是一个可能的解决方案。您可以通过调整命令中的坐标、粗细或松紧度来调整删除标记,只要您认为合适即可。
代码如下:
\documentclass{article}
\usepackage{tikz}
\newlength{\wordlen}
\newcommand{\delete}[1]{%
\settowidth{\wordlen}{#1}\hspace{.5\wordlen}\tikz[anchor=base,baseline, overlay]{%
\node[inner sep=1,circle,very thick,draw=red](word){#1};%
\draw[very thick,red,overlay](word)to[out=20,in=-90](.5,.4)to[out=90,in=90](.4,.4)to[out=-90,in=-150](.8,.4);}%
\hspace{.5\wordlen}}
\begin{document}
Here is a sentence with no meaningful content.
Here is another sentence with no meaningful content.
Here is one more sentence with no \delete{no} meaningful content.
\end{document}
答案2
借助打击乐的帮助(见评论),左边的标记很容易。
\documentclass[tikz,border=2mm]{standalone}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}
\node (A) {\includegraphics{hKBg1}};
\fill[white] ([shift={(1.5,0.5)}]A.south west) rectangle ([shift={(4,1.6)}]A.south west);
\draw[red,ultra thick]
([shift={(1.5,0.5)}]A.south west)
..controls +(90pt,65pt) and +(-95pt,-25pt) .. ++(60pt,25pt);
\end{tikzpicture}
\end{document}