How to cross out a sentence using a horizontal line in a colour different from the text?
I found this useful question about how to cross out a sentence, but I cannot figure out how to use colour with this solution. The cancel package allows that, as described here, but would not do a horizontal line.
Best Answer
Too long for a comment.
The second answer in that thread is a working example.
If you want to change the color when using the
soul
package you can use the command\setstcolor
:The
ulem
package does not support coloring directly, but looking at its manual, you can find that it is possible to define a new command likeso that
produces the same result as the above one.