3

I want to strike obliquely one or more paragraphs of text, to indicate cancellation, like in this picture:

enter image description here

I would need to strike also if the paragraph spans in two pages.

enter image description here

I tried the cancel package, but it doesn't work.

1 Answers1

4

You could try tcolorbox. Be aware that even if looks like normal text, it is nevertheless a box and e.g. spacing before and after can differ a bit to normal spacing:

\documentclass{article}
\usepackage{lipsum}
\usepackage[most]{tcolorbox}

\begin{document}

\lipsum[1-4]

\begin{tcolorbox}[breakable,
 enhanced jigsaw,
 opacityback=0,
 sharp corners,
 parbox=false,
 boxrule=0mm,
 top=0mm,bottom=0pt,left=0pt,right=0pt,
 boxsep=0pt,
 frame hidden,
 parbox=false,
 before upper=\indent\strut,
 before=\par,after=\par,
 finish={\draw[thick,red] ([xshift=3cm]frame.north)--([xshift=-3cm]frame.south);}
]
\lipsum[1-2]
\end{tcolorbox}

\lipsum[1-2]

\end{document}

enter image description here

Ulrike Fischer
  • 327,261