# Moving a subscript in Xy-pic

To obtain a larger version of \nrightarrow (LaTeX, Package amssymb), I typed

$\xymatrix{A\ar@<-1.5ex>@{}[r]^{/}\ar[r]&B}$

Is there a simpler way to obtain the same result, i.e. is it possible to move upward or downward the subscript (or the superscript) of an arrow?

• Welcome to TeX.SX! It's almost always to post a full example instead of only a fragment of code – user31729 Dec 2 '14 at 11:34
• How do you want to use this arrow? In a formula or like in your example or in text? Would a bigger scaled \nrightarrow work for you? – LaRiFaRi Dec 2 '14 at 12:05
• The fragment of code was just an example. The question is: "Is it possible to move upward or downward the subscript (or the superscript) of an arrow?" (assuming the arrow is horizontal...)". – Albert Laffite Dec 2 '14 at 12:51
• I see no subscript or superscript. – egreg Dec 2 '14 at 15:37
• The aim is to draw an arrow, and in the middle of it a slash, without breaking the arrow. The solution above is made of three steps: – Albert Laffite Dec 2 '14 at 17:40

$\rightarrow\centernot\rightarrow\longrightarrow\centernot\longrightarrow\Rightarrow\centernot\Rightarrow\Longrightarrow\centernot\Longrightarrow$