Math & ScienceStrikethrough equations?

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
jhapk
Posts: 81
Joined: Tue Apr 20, 2010 9:33 pm

Strikethrough equations?

Post by jhapk »

Hi,

is there any way I can strikethrough a equation in latex?

the ulem package seems to not work in the equation enviornment.

Thanks

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Strikethrough equations?

Post by gmedina »

Hi,

whta exactly do you mean with "strikethrough"? (Sorry, but English is not my native language). Perhaps you are looking for some of the features provided by the cancel package:

Code: Select all

\documentclass{article}
\usepackage{amsmath}
\usepackage{cancel}

\begin{document}

\[
  A=\cancelto{0}{B+C}
\]

\[
  A=\cancelto{0}{B+C}
\]

\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
jhapk
Posts: 81
Joined: Tue Apr 20, 2010 9:33 pm

Re: Strikethrough equations?

Post by jhapk »

Hi,
thanks. That was useful.
Post Reply