Home » , » Highlight text changes in LaTeX

# Highlight text changes in LaTeX

### Highlight text changes in LaTeX

When you highlight a textual snippet or show your readers what you have changed in latex, you can use the "soul" package.

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 `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.)
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.