EK <ehud.kap...@mssm.edu> writes:

> At Julien's advice, this is what I have put in the preamble.  It works
> fine outside the captions.
>
> \usepackage{color}
>
> \renewcommand{\lyxdeleted}[3]{{\color{red}*}\marginpar{{\color{red}*#3}
> (removed by #1 on #2)}}
>
> \renewcommand{\lyxadded}[3]{{\color{blue}#3}}

Try to add \protect in front of \color, and then in front of \marginpar.

JMarc

Reply via email to