By Alvin Alexander. Last updated: April 6, 2024
LaTeX FAQ: How do I create/use a strikeout or strikethrough font in LaTeX?
Solution
It was hard to find out how to use a strikethrough font using LaTeX, and I don't want to lose it, so here's a simple example.
% % include the "ulem" package in the header % \usepackage{ulem} % % use the "sout" tag to "strike through" text % \sout{Bill Clinton} G.W. Bush is the pres.
Run through the latex2html
converter, this produces output text like this:
<strike>Bill Clinton</strike> G.W. Bush is the pres.
As you can see, step one is to include the ulem
package in the document header. Step two is to use the sout
tag wherever you need it.
That's it. I don't know why it's so hard to find, but it took me forever to find people struggling through various attempts to mimick this ability ... then I found it on the bottom of a page in an old book one day ... long after I needed it.