# How to make slash going through two digits?

I want to try make it slash both of 2 digits.

For example if I do $$\not{7}$$ it will slash that 7.

What to do for $10$ or bigger numbers?

Edit: $\require{cancel} \bcancel{10}$

• i want 1 slash can slash both numbers and not 2 numbers=2 slash Nov 6, 2017 at 21:26
• Closely related: How can I slash through a formula? Nov 7, 2017 at 13:26

\cancel{whatever}


Look here for more references.

• in some programs you need to do "\require{cancel}" before but in stackexchange you dont need
– ℋolo
Nov 6, 2017 at 21:28
• what you mean by in stackexchange dont need? Nov 6, 2017 at 21:38
• @mohamadmunzir mathjax is not used only by stackexchange, when using the commend "\cancel{ }" normally you would have to add "\require{cancel}" before. but in stackexchange, the site do it for you so you dont need that line
– ℋolo
Nov 6, 2017 at 21:41
• ok..it's worked...HAHAHAHHAHAHAHHA..thank you so much..you have my pleasure holo Nov 6, 2017 at 21:47