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
\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