1

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.

  • What would it look like if you were to strike a paragraph over a page boundary? – Werner May 16 '18 at 19:57
  • I updated the question – slurpolo May 16 '18 at 20:04
3

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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.