# How to write 'x is not converging to 0'?

To write 'x converges to 0' I can use x\to 0 that produces $$x\to 0$$. But how do I write "x does not converge to 0'? I need to strike out $$\to$$. Well cancel package will be ok.

• I'm not sure I understand what strike you want.. Something like this $\require{cancel} \cancel \rightarrow$ works? – Zacky Apr 14 at 20:20
• thanks @Zacky...... – Manjoy Das Apr 14 at 20:23
• @Zacky post yours, it's more complete, I'll delete mine – Bellatrix Apr 14 at 20:35
• @Magic_Isa You posted first, so I think you should keep it. – Zacky Apr 14 at 20:36
• @Zacky see? OP wants the 'cancel package' answer – Bellatrix Apr 14 at 20:39
• Hey, I needed both. I had to see which one looked better than the other. – Manjoy Das Apr 14 at 20:44
• By the way, what is OP? I saw that on several occasions. – Manjoy Das Apr 14 at 20:45
• "OP" in forums stands for "original poster", see here. – Zacky Apr 14 at 20:49
• well how did you correct my question? i mean how did you write codes with grey background. @Zacky – Manjoy Das Apr 14 at 20:52
• If you are using a computer then you can simply select a text and use Ctrl + K, otherwise from phone one option is to search for a text already with this grey background and copy the quotes around it, e.g. text is text. – Zacky Apr 14 at 20:58
• ok @Zacky...... – Manjoy Das Apr 14 at 20:59

The cancel package provides some ways to strike through. See here for more, but basically \require{cancel} \cancel \to produces: $$\require{cancel} \cancel \to$$.
However \not \rightarrow produces something smaller, like: $$\not \to$$.
• Or x\not\to 0 which displays $x\not\to 0$ – Bellatrix Apr 14 at 20:42