I am using the changes package and building upont this question.
I basically want to have all the deleted and replaced text in (abbreviated) comments on the side. How can I do that?
See the example below. I want to achieve that result without having to type a comment to every replaced and deleted command and also want to make sure that the comments are abbreviated.
\documentclass{article}
\usepackage{changes}
\makeatletter
\setdeletedmarkup{\@gobble{#1}}
\makeatother
\begin{document}
Alas my love you do me \replaced[comment={(replaced): wrong}]{wrong}{right},
to cast me off\deleted[comment={(deleted): discourteously}]{discourteously}.
For I have loved you \replaced[comment={(replaced): well}]{badly}{well} \added{and poorly},
delighted in your \replaced[comment={(replaced): company}]{company}{corporation}.
To repeat: \deleted[comment={(deleted): Alas my love you do[...]}]{Alas my love you do me wrong, to cast me off discourteously.}
\listofchanges
\end{document}


\truncateto. Hope that helps. – muzimuzhi Z May 22 '20 at 11:09