Tuesday, December 1, 2009

How to use a strikeout/strikethrough font in LaTeX


Include the "ulem" package in the header like this.

\usepackage{ulem} % to use a strikeout/strikethrough font

Then to produce strikeout use the command \sout{ ... } like this.

\sout{Windows} Ubuntu rules.

This produces output text like this:

Windows Ubuntu rules.

\sout command only works in text mode. To use strikeout in equations a different command should be used. Inside math mode the command \text{\sout{\ensuremath{ ... }}} should be used. Like this,

\text{\sout{\ensuremath{R^{bc} = R^{00} + R^{BC} }}}

No comments:

Removing audio noise from a video

The basic steps are to extract the audio, remove noise, and then re-insert the noise-free audio back into the video wrapper. Step I: Ext...