1

I would like to strikethrough all the text in an \item. Since \item takes a variable number of arguments, I don't know how to do that.

I have tried:

\documentclass{article}
\usepackage{ulem}
\newcommand{\noitem}{\item\sout}

\begin{document} \begin{itemize} \item first \noitem second \end{itemize} \end{document}

Which results in:

  • first
  • second

What I want is:

  • first
  • second
John Johnson
  • 381
  • 2
  • 10
  • 2
    use \item\sout{second} anything else is going to be impossibly fragile and bite you later, even if you get it working in simple cases. – David Carlisle Feb 08 '22 at 16:50

0 Answers0