Closed lmendo closed 2 weeks ago
Those definitions with the capital letters RED and BLUE are included because one package (I have forgotten which one) was changing all letters to capitals when moving parts of text, e.g., section or figure titles into table of contents/figures, including argument of \color. Adding the definitions for the capitalised version was an easy hack to allow mark-up in captions/section titles nonetheless. If you like to use different colours you can change \DIFadd and \DIFdel (+tex if required) directly.
The beginning lines of the generated diff
tex
file containRED
andBLUE
are defined but not used. I think the\DIFaddtex
and\DIFdeltex
definitions should use those colors, so that changing the color definitions will have an effect.