Highlight text changes in LaTeX
Just follow the following steps:
- Download the LaTeX package named "soul". You can find it by searching attug.org
- Install that package
- Include a statement like this in the preamble of your document so you can use the package:
\usepackage{soul}
- Mark your text with a
\hl
command wherever you want it highlighted, like this:this is some \hl{highlighted text} blah blah
That's it. Use the
I've read where this command has problems occassionally, but I have not experienced those. Read the PDF that comes with the soul package for more information and other uses.soul
package, and mark your text with the \hl
command. (Note that the letters in this command are the lowercase versions of the letters 'H' and 'L', respectively.)