Open MLopez-Ibanez opened 6 months ago
Testcase
\documentclass{article} \usepackage{newrevisor} \usepackage[a5paper,paperheight=20cm,left=0cm,right=3.5cm,top=0cm,bottom=0cm,nohead]{geometry} \newrevisor{maria}{blue} \begin{document} \thispagestyle{empty} \listofrevisions% \section{Main document} \begin{equation*} E = mc^2 \end{equation*} \maria{Something: \begin{equation*} E = mc^2 \end{equation*} Something else. }{New text} \end{document}
This produces:
./test-align-eq.tex:18: Extra }, or forgotten \endgroup. \UL@stop ...z@ \else \UL@putbox \fi \else \egroup \egroup \UL@putbox \fi \if...l.18 }{New text} ./test-align-eq.tex:18: Extra }, or forgotten \endgroup. \UL@stop ... \UL@putbox \fi \else \egroup \egroup \UL@putbox \fi \ifnum \UL@...l.18 }{New text} ./test-align-eq.tex:18: Missing $ inserted. <inserted text> $ l.18 }{New text} ./test-align-eq.tex:18: Missing $ inserted. <inserted text> $ l.18 }{New text} ./test-align-eq.tex:18: Missing } inserted. <inserted text> } l.18 }{New text} ./test-align-eq.tex:18: Missing } inserted. <inserted text> } l.18 }{New text}
It is unclear how to handle such paragraphs either with ulem or soul packages.
ulem
soul
This package may have some useful ideas: https://trackchanges.sourceforge.net/help_stylefile.html
Testcase
This produces:
It is unclear how to handle such paragraphs either with
ulem
orsoul
packages.