3

I am wondering how to make a does not imply arrow when using \xymatrix. I have a square diagram with two implications (arrows) on three edges only and one arrow on the fourth edge. One of the arrows should be a "does not imply Rightarrow" on these three edges with two arrows. Thanks for your help.

Here is the latex code I have:

\documentclass{amsart}
\usepackage{graphicx}
\usepackage[all]{xypic}

\begin{document}

\begin{equation*}
  \begin{gathered}
    \quad
    \SelectTips{cm}{} \xymatrix@C=4.5em@R=4.5em{ A
      \ar@<-1ex>@{=>}[d]_-{(3)} \ar@<1ex>@{=>}[r]^-{(1)}  & B  
      \ar@<1ex>@{=>}|{\, \backslash \,}[l]^{} 
      \\
      C          \ar@<1ex>@{=>}[r]  \ar@<-1ex>@{=>}|{}[u]_-{\;\;(4)}   & D 
      \ar@<1ex>@{=>}[l] \ar@<-1ex>@{=>}[u]_{\;(5)} }
  \end{gathered}
\end{equation*} 

\end{document}
  • 1
    Welcome to TeX.SX! Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – Herr K. Jan 23 '14 at 18:20
  • A tip: If you indent lines by 4 spaces or enclose words in backticks `, they'll be marked as code. You can also highlight the code and click the "code" button (with "{}" on it). Your code snippet in its current form is hardly readable. – Herr K. Jan 23 '14 at 18:21
  • Thanks for the tips. I have edited my code the way you said. Hope it is more readable now. – EileenDavid82 Jan 23 '14 at 19:28
  • 1
    So you want to draw arrows like $\not\Rightarrow$? What's wrong with the arrow from B to A? – Herr K. Jan 23 '14 at 19:31
  • Yes, I wanted to have arrows like $\not\Rightarrow$. Mine doesn't quite like $\not\Rightarrow$. – EileenDavid82 Jan 23 '14 at 21:58
4

Like this?

MWE

\documentclass{amsart}
\usepackage{graphicx}
\usepackage[all]{xypic}

\begin{document}

\xymatrix@1{
  A \ar@{=>}[r] |{\SelectTips{cm}{}\object@{/}}|{} & B 
}

\end{document}

Output

enter image description here

  • Thank you @Kevin C! Yes, I was trying to get a result like this. The problem with mine was that my tilted line does not go through the arrow, it splits the arrow with a space. I am going to try your code now. – EileenDavid82 Jan 23 '14 at 21:57
  • 1
    @EileenDavid82 Instead of posting a “Thank you” comment (or, in addition to posting a thank you comment), you should thank Kevin C by upvoting the answer (with the upward pointing arrow to the left of it; you need 15 reputation points before you can upvote) and accepting it (by clicking on the checkmark ✓). This is part of this site's idea to identify good questions and answers through upvotes and acceptance of answers. – Adam Liter Jan 29 '14 at 4:47

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.