[Tex/LaTex] Strikethrough text


I am writing an article in LaTeX 2e. Part of the article describes the Sieve of Eratosthenes, and I want to show examples of how multiples of a prime are removed from the sieve by showing them in a strikethrough font. How do I create a strikethrough font in LaTeX 2e?

Best Answer

I'm not quite sure what you mean with creating a strikethrough font. However, for striking through text horizontally see:


So with the ulem package this is:

\sout{Hello World}

With the soul package this is:

\st{Hello World}

enter image description here

The ulem package seems more up to date so I would use that.