I have figured out how to add a cross over words with tcolorbox
\documentclass{article}\usepackage{xcolor} \usepackage[most]{tcolorbox}
\begin{document}
Of course, presenting this solution would be cheating. And, no, it won't work in all cases, due to strict limitations on the pairs
\tcbox[tcbox raise base,
breakable,nobeforeafter, enhanced jigsaw, opacityback=0, sharp corners, parbox=false, boxrule=0pt, top=0pt,bottom=0pt,left=0pt,right=0pt, boxsep=0pt, frame hidden, parbox=false,
finish={\draw[thick,red] (frame.south west)--(frame.north east);\draw[thick,red] (frame.south east)--(frame.north west);}]{
accepted
}
by \textbackslash{}line. Your professor surely knows that TeX doesn't draw oblique lines. With the standard package pict2e it's easier and it will work in any case.
\end{document}
Here I cross out word accept. However, I want the cross to stretch out a bit, say 1cm, see my illustration.
How can I achieve that?





\verb|\line|instead of\textbackslash{}line; use\TeX{}instead ofTeXand use\verb|pict2e|instead ofpict2e. – Mar 09 '19 at 09:25