Посмотрите отрывок ниже и скажите мне, как я могу достигнуть того же зачеркнутого эффекта как в основном тексте. Я использую версию ЛАТЕКСА из последних репозиториев Ubuntu.
\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}
Похоже, \ sout
не работает в математической среде.
Вы можете попробовать сделать что-нибудь вроде это, что работает:
\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}