I am working with the changes
package. Modifying the color of the changed passages works well with \colorlet
command. Is it possible to create colorboxes (with yellow color) only around the changes (without the \colorbox
command)?
Thanks for your answer…
Philipp
Best Answer
You can control the appearance of added and deleted text through the commands
\setaddedmarkup
and\setdeletedmarkup
, respectively.So you can define, for example:
With the following code
you get
This doesn't obviously support line breaks.
If you don't need particular formatting apart from coloring, you can load the
soul
package (once loaded bychanges
), and define, for example:MWE
Output:
Otherwise, have a look at this thread for more highlighting possibilities: Cool Text Highlighting in LaTeX