LaTeX Guide

LaTeX Strikethrough

Use the ulem package. \sout{text} for single line. Always pair with [normalem] to preserve \emph.

Setup

% IMPORTANT: pass [normalem] to keep \emph as italic
\usepackage[normalem]{ulem}

% Now you can use:
\sout{strikethrough text}
\xout{cross-out text}    % less common

% Without [normalem], \emph would also become underlined.

Revision tracking pattern

% Manual approach
\sout{deleted old text} \textcolor{red}{added new text}

% Better: use the changes package
\usepackage{changes}

\deleted{deleted text}    % shows as strikethrough
\added{new text}           % shows as colored
\replaced{new}{old}        % combines both

Math mode strikethrough

\usepackage{cancel}

% Cancel a factor in an equation
$\frac{\cancel{x}}{\cancel{x} \cdot y} = \frac{1}{y}$

% Different cancellation directions
$\cancel{x}$   % diagonal: top-left to bottom-right
$\bcancel{x}$  % diagonal: top-right to bottom-left
$\xcancel{x}$  % both directions (X shape)

Common mistakes

  • Forgetting [normalem]. ulem redefines \emph to underline by default. Always use [normalem].
  • Using \sout in math mode. Doesn't work. Use \cancel instead.
  • Trying \sout for long paragraphs. Breaks across line ends. Use the changes package for revision tracking.
  • Mixing \sout with \textbf. Order matters: \textbf{\sout{text}} works; reversed may have rendering quirks.
Typst strikethrough
#strike[strikethrough text]

// In equations (math mode):
$ cancel(x) $    // diagonal cancellation
Try TypeTeX free

Frequently Asked Questions

How do I strikethrough text in LaTeX?

Use the ulem package: \usepackage{ulem}. Then \sout{text} produces strikethrough. \xout{text} produces a 'crossed out' version with diagonal lines. There's no built-in strikethrough — you need ulem or a similar package.

What's the difference between \sout and \xout?

\sout draws a single horizontal line through the text — what most people mean by 'strikethrough'. \xout draws diagonal X-shaped lines through each character — more emphatic, less common in academic writing. Use \sout for revision marks; \xout for emphasis (rare).

Why does \emph become underlined when I load ulem?

By default, ulem redefines \emph to underline (since strikethrough and underlining are related typographic conventions). To preserve italic emphasis: \usepackage[normalem]{ulem}. The [normalem] option keeps \emph as italic.

How do I show revisions (added/deleted text)?

Common pattern: \sout{old text} \textcolor{red}{new text}. Or use the changes package: \usepackage{changes} \added{new text} \deleted{old text} \replaced{new}{old}. Cleaner than manual coloring.

Can I strikethrough in math mode?

\sout doesn't work in math mode by default. For math: use \cancel from the cancel package — \cancel{x} draws a diagonal line through x, common for canceling factors in equations. Or \bcancel for the other diagonal direction.

Why is my strikethrough breaking across lines weirdly?

ulem's \sout doesn't always handle line breaks gracefully — it can leave gaps at line ends. For prose with line breaks, use \xout or the soul package's \st. For one-line spans, \sout is fine.

How do I strikethrough an entire paragraph?

\sout{paragraph text} works for a single paragraph but breaks across pages awkwardly. For longer spans, manually \sout{} each line, or use \renewcommand{\ULdepth}{1.8pt} to adjust the line position. For revision tracking purposes, the changes package handles this better.

What's the ACS chemistry community's preferred strike?

ACS papers don't use much strikethrough — it's more common in editing/revision documents than published papers. When used, \sout from ulem is standard. For chemistry equations specifically, \cancel from the cancel package handles canceled factors.

More LaTeX guides