Im trying to create a short list of changes for a document from one revision to another. and only want to show the redlines on a set string.
i.e.
OLD String: I when to the zoo yesterday
NEW String: I went to the zoo today.
Diff string: I wentwhen to the zoo yesterdaytoday.
Best Answer
LyX can make exactly that:
However, the changes are stored in their own file format (
.lyx
) but not in the exported LaTeX (.tex
) source or the PDF.For a pure LaTeX solution or see the changes in the PDF, you can use the package
changes
:If you want the final PDF version, simply load the package with the
final
option:But also can do something more:
See changes on CTAN for more options.
Another solution:
1)
old.tex
:2)
new.tex
:3) In the terminal:
4) Edit
diff.tex
: Add manually some preamble to define\TLSins
and\TSLdel
(otherwise you cannot compile the file). The result must be something like: