请参阅下面的片段并告诉我如何实现与正文中相同的删除效果。我正在使用最新的 Ubuntu 存储库中的 LaTeX 版本。
\documentclass{article}
\usepackage{ulem}
\begin{document}
The sout tag works perfect in the \sout{main text area} but not inside the equations.
$$
list = [1, \sout{2}, 3, \sout{4}, 5, \sout{6}, 7, \sout{8}, 9, \sout{10}]
$$
Any clue?
\end{document}