2

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
1

Really easy negation can be done with centernot:

% arara: pdflatex

\documentclass{article}
\usepackage{centernot}

\begin{document}
$\rightarrow\centernot\rightarrow\longrightarrow\centernot\longrightarrow\Rightarrow\centernot\Rightarrow\Longrightarrow\centernot\Longrightarrow$
\end{document}

enter image description here

You could negate anything with that. If you want to use a commutative diagram approach, take a look on . If you want to have the amssymb arrow, you will have to scale this up or do a feature request to the maintainers.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.