Is there a 'strikethrough' feature in LaTeX? I'm trying to show a a product of fractions with several factors in numerators and denominators cancelling each other out. So far all I've found is the \not feature, but this works very poorly; e.g. when I try \not{147}, I get \(\not{147}\), with only the 1 crossed out.

I would like to be able to cross out entire numbers; ideally, I'd also like to show either the strikethrough or the number (preferably not both) in a variety of colors.

Anyone know whether this can be done? Thanks!

No vote yet

1 vote

×

Problem Loading...

Note Loading...

Set Loading...

Easy Math Editor

`*italics*`

or`_italics_`

italics`**bold**`

or`__bold__`

boldNote: you must add a full line of space before and after lists for them to show up correctlyparagraph 1

paragraph 2

`[example link](https://brilliant.org)`

`> This is a quote`

Remember to wrap math in \( ... \) or \[ ... \] to ensure proper formatting.`2 \times 3`

`2^{34}`

`a_{i-1}`

`\frac{2}{3}`

`\sqrt{2}`

`\sum_{i=1}^3`

`\sin \theta`

`\boxed{123}`

## Comments

Sort by:

TopNewestYou need to import the \(\LaTeX\) package "\require{cancel}" first.

For example,

See the first example in this wiki page for a longer illustration:

Click "Toggle LaTeX" at your profile picture to view the raw code.

Log in to reply

Thank you, that's very helpful.

Is there somewhere I can find out more about packages, e.g. which are available to use and what their features are? I've googled LaTeX several times before and have seen several packages mentioned (amsmath in particular), but all my attempts to use them have been unsuccessful. Can I import any package simply by using \require{}?

Also, can we use commands like \newcommand, \renewcommand, etc? I see those mentioned again and again but can't seem to use them successfully, either. Much of what works in Brilliant LaTeX seems just a little different from what I see in online searches e.g. I've never seen the \require command mentioned anywhere else.

I'm sorry for thanking you for replying by asking several more questions, but now that I have a decent command of basic LaTeX I find I want to do more advanced things but have no idea how to learn those. I'd be more than happy to find all the answers to my questions myself if you could just point me to the right place to look.

Log in to reply

Just google "LaTeX package list/reference."

On Brilliant? Only some works. I just try to import some package and hope it works, some packages works, some doesn't.

On Brilliant? No, last time I tried, it didn't work.

That's because most LaTeX documents have already imported the documents already at the very beginning, but the LaTeX implementation on this site works differently.

No worries, we're here to learn and enjoy after all!

I actually don't know much about LaTeX (I'm serious). Try THIS ONE and THIS OTHER ONE.

Log in to reply

Log in to reply

Problem: Toggle LaTeX Feature is gone

Log in to reply

How do you align the equals sign?

Log in to reply

Log in to reply