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 , 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!
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
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
You 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
Problem: Toggle LaTeX Feature is gone
Log in to reply
How do you align the equals sign?
Log in to reply