LaTeX strikeout font example - How to use a strikeout/strikethrough font

A LaTeX strikeout font example: 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.

 

Brrh, what an example!

Brrh, what an example!

sout{\sout{Bill Clinton} G.W.

sout{\sout{Bill Clinton} G.W. Bush} B. Obama is the pres. :)

Well .. I didnt think it was

Well .. I didnt think it was so hard to find .. but you were also the first hit on google =)

unintended consequences

The strikeout works, but it changes all my \emph{} text from itallic to underlined! Any suggestions?

Thank you very much!

That was exactly the information I was looking for. Thank you very much!

Best regards,
Jakob

LaTeX strikeout font and emph tag

Yikes, sorry, no I haven't seen that problem before, but I thought I'd post your comment here in case anyone else has.

you should check ulem's

you should check ulem's doc:

\usepackage[normalem]{ulem}

Unintended underlines with package ulem removed

Thanks a lot Lvdi. \usepackage[normalem]{ulem} works, particularly those underlines in bibliography.

Post new comment

The content of this field is kept private and will not be shown publicly.