In XY-pic, two parallel arrows passing under a shape are not parallel when they are separated by distance

Tabular make widths equal

Should I give professor gift at the beginning of my PhD?

Does a scale have more than seven chords?

Importance of Building Credit Score?

What speaks against investing in precious metals?

Is it a problem if <h4>, <h5> and <h6> are smaller than regular text?

How to communicate to my GM that not being allowed to use stealth isn't fun for me?

Cascading Switches. Will it affect performance?

Is it possible to have the age of the universe be unknown?

How is John Wick 3 a 15 certificate?

How do I prevent employees from either switching to competitors or opening their own business?

Determining fair price for profitable mobile app business

Why are trash cans referred to as "zafacón" in Puerto Rico?

How to hide rifle during medieval town entrance inspection?

How to trick the reader into thinking they're following a redshirt instead of the protagonist?

Is a lack of character descriptions a problem?

What is the purpose of the goat for Azazel, as opposed to conventional offerings?

Bent Peugeot Carbolite 103 Frame

Teaching a class likely meant to inflate the GPA of student athletes

Using "subway" as name for London Underground?

Union with anonymous struct with flexible array member

Winning Strategy for the Magician and his Apprentice

What is the maximum number of net attacks that one can make in a round?

Has there been a multiethnic Star Trek character?



In XY-pic, two parallel arrows passing under a shape are not parallel when they are separated by distance














3















I want to draw a commutative diagram with xy-pic package similar to the figure shown below. The two arrows from C to D and vice versa should pass under the rectangle ABEF, be separated by a distance, and be horizontal. The problem is that I can not make the segments of these two arrows to be horizontal, rather they are tilted as shown.



enter image description here



The figure is generated by this code:



beginequation*
xymatrix@!=3.5pc
& A ar[dd] ar[r] & B ar[dd] & \
C ar@<2ex>'[r]'[rr][rrr] &&& D ar@->@<2ex>'[l]'[ll][lll] \
& E ar[r] & F &

endequation*


When the two arrows are placed exactly on each other (that is, zero distance) both are horizontal and there is no problem.



However, when I make a distance between them, they will not stay horizontal and each segment of arrow tilts. In above code I used 2ex distance between arrows to exaggerate the problem. Though, I originally intend to use smaller distances. How can I fix this? Thanks.










share|improve this question









New contributor



Sia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.























    3















    I want to draw a commutative diagram with xy-pic package similar to the figure shown below. The two arrows from C to D and vice versa should pass under the rectangle ABEF, be separated by a distance, and be horizontal. The problem is that I can not make the segments of these two arrows to be horizontal, rather they are tilted as shown.



    enter image description here



    The figure is generated by this code:



    beginequation*
    xymatrix@!=3.5pc
    & A ar[dd] ar[r] & B ar[dd] & \
    C ar@<2ex>'[r]'[rr][rrr] &&& D ar@->@<2ex>'[l]'[ll][lll] \
    & E ar[r] & F &

    endequation*


    When the two arrows are placed exactly on each other (that is, zero distance) both are horizontal and there is no problem.



    However, when I make a distance between them, they will not stay horizontal and each segment of arrow tilts. In above code I used 2ex distance between arrows to exaggerate the problem. Though, I originally intend to use smaller distances. How can I fix this? Thanks.










    share|improve this question









    New contributor



    Sia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      3












      3








      3








      I want to draw a commutative diagram with xy-pic package similar to the figure shown below. The two arrows from C to D and vice versa should pass under the rectangle ABEF, be separated by a distance, and be horizontal. The problem is that I can not make the segments of these two arrows to be horizontal, rather they are tilted as shown.



      enter image description here



      The figure is generated by this code:



      beginequation*
      xymatrix@!=3.5pc
      & A ar[dd] ar[r] & B ar[dd] & \
      C ar@<2ex>'[r]'[rr][rrr] &&& D ar@->@<2ex>'[l]'[ll][lll] \
      & E ar[r] & F &

      endequation*


      When the two arrows are placed exactly on each other (that is, zero distance) both are horizontal and there is no problem.



      However, when I make a distance between them, they will not stay horizontal and each segment of arrow tilts. In above code I used 2ex distance between arrows to exaggerate the problem. Though, I originally intend to use smaller distances. How can I fix this? Thanks.










      share|improve this question









      New contributor



      Sia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I want to draw a commutative diagram with xy-pic package similar to the figure shown below. The two arrows from C to D and vice versa should pass under the rectangle ABEF, be separated by a distance, and be horizontal. The problem is that I can not make the segments of these two arrows to be horizontal, rather they are tilted as shown.



      enter image description here



      The figure is generated by this code:



      beginequation*
      xymatrix@!=3.5pc
      & A ar[dd] ar[r] & B ar[dd] & \
      C ar@<2ex>'[r]'[rr][rrr] &&& D ar@->@<2ex>'[l]'[ll][lll] \
      & E ar[r] & F &

      endequation*


      When the two arrows are placed exactly on each other (that is, zero distance) both are horizontal and there is no problem.



      However, when I make a distance between them, they will not stay horizontal and each segment of arrow tilts. In above code I used 2ex distance between arrows to exaggerate the problem. Though, I originally intend to use smaller distances. How can I fix this? Thanks.







      xy-pic commutative-diagrams xymatrix






      share|improve this question









      New contributor



      Sia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question









      New contributor



      Sia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question








      edited May 31 at 0:58







      Sia













      New contributor



      Sia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked May 31 at 0:36









      SiaSia

      185




      185




      New contributor



      Sia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      Sia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          2 Answers
          2






          active

          oldest

          votes


















          4














          You can also get crossing arrows by putting a small gap in the arrow to be broken by breaking the arrow with the special label hole. To see a discussion and examples, take a look at the AMS-LaTeX primer "Getting up and running with AMS-LaTeX"amshelp.pdf, at https://ctan.org/tex-archive/info/amslatex/primer?lang=en, section 8.6 (More crossing arrows). For your particular question:



          documentclassamsart
          usepackage[all,cmtip]xy

          begindocument
          beginequation*
          xymatrix@!=3.5pc![llu];[lld]hole[lll]\
          & E ar[r] & F &

          endequation*
          enddocument


          produces
          desired diagram






          share|improve this answer


















          • 1





            Amazing! (I would have thought this is too tough for xy, so +1.)

            – marmot
            May 31 at 3:50












          • @marmot Thanks; I do admit that the tikz-cd approach is overall cleaner and more intuitive.

            – Phil Hirschhorn
            May 31 at 3:57











          • I guess it is always a matter what one is more familiar with. I think your solution is simple and good, and answers the question, which is on xy.

            – marmot
            May 31 at 3:59



















          2














          Just for fun: a tikz-cd realization.



          documentclassarticle
          usepackagetikz-cd
          begindocument
          begintikzcd[column sep=2em,row sep=2em]
          & A arrow[r] & B & \
          C arrow[rrr,yshift=0.65ex]& & & arrow[lll,yshift=-0.65ex] D\
          & E arrow[r] arrow[uu,<-,crossing over] & F arrow[uu,<-,crossing over]& \
          endtikzcd
          enddocument


          enter image description here






          share|improve this answer























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "85"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );






            Sia is a new contributor. Be nice, and check out our Code of Conduct.









            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f493443%2fin-xy-pic-two-parallel-arrows-passing-under-a-shape-are-not-parallel-when-they%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            4














            You can also get crossing arrows by putting a small gap in the arrow to be broken by breaking the arrow with the special label hole. To see a discussion and examples, take a look at the AMS-LaTeX primer "Getting up and running with AMS-LaTeX"amshelp.pdf, at https://ctan.org/tex-archive/info/amslatex/primer?lang=en, section 8.6 (More crossing arrows). For your particular question:



            documentclassamsart
            usepackage[all,cmtip]xy

            begindocument
            beginequation*
            xymatrix@!=3.5pc![llu];[lld]hole[lll]\
            & E ar[r] & F &

            endequation*
            enddocument


            produces
            desired diagram






            share|improve this answer


















            • 1





              Amazing! (I would have thought this is too tough for xy, so +1.)

              – marmot
              May 31 at 3:50












            • @marmot Thanks; I do admit that the tikz-cd approach is overall cleaner and more intuitive.

              – Phil Hirschhorn
              May 31 at 3:57











            • I guess it is always a matter what one is more familiar with. I think your solution is simple and good, and answers the question, which is on xy.

              – marmot
              May 31 at 3:59
















            4














            You can also get crossing arrows by putting a small gap in the arrow to be broken by breaking the arrow with the special label hole. To see a discussion and examples, take a look at the AMS-LaTeX primer "Getting up and running with AMS-LaTeX"amshelp.pdf, at https://ctan.org/tex-archive/info/amslatex/primer?lang=en, section 8.6 (More crossing arrows). For your particular question:



            documentclassamsart
            usepackage[all,cmtip]xy

            begindocument
            beginequation*
            xymatrix@!=3.5pc![llu];[lld]hole[lll]\
            & E ar[r] & F &

            endequation*
            enddocument


            produces
            desired diagram






            share|improve this answer


















            • 1





              Amazing! (I would have thought this is too tough for xy, so +1.)

              – marmot
              May 31 at 3:50












            • @marmot Thanks; I do admit that the tikz-cd approach is overall cleaner and more intuitive.

              – Phil Hirschhorn
              May 31 at 3:57











            • I guess it is always a matter what one is more familiar with. I think your solution is simple and good, and answers the question, which is on xy.

              – marmot
              May 31 at 3:59














            4












            4








            4







            You can also get crossing arrows by putting a small gap in the arrow to be broken by breaking the arrow with the special label hole. To see a discussion and examples, take a look at the AMS-LaTeX primer "Getting up and running with AMS-LaTeX"amshelp.pdf, at https://ctan.org/tex-archive/info/amslatex/primer?lang=en, section 8.6 (More crossing arrows). For your particular question:



            documentclassamsart
            usepackage[all,cmtip]xy

            begindocument
            beginequation*
            xymatrix@!=3.5pc![llu];[lld]hole[lll]\
            & E ar[r] & F &

            endequation*
            enddocument


            produces
            desired diagram






            share|improve this answer













            You can also get crossing arrows by putting a small gap in the arrow to be broken by breaking the arrow with the special label hole. To see a discussion and examples, take a look at the AMS-LaTeX primer "Getting up and running with AMS-LaTeX"amshelp.pdf, at https://ctan.org/tex-archive/info/amslatex/primer?lang=en, section 8.6 (More crossing arrows). For your particular question:



            documentclassamsart
            usepackage[all,cmtip]xy

            begindocument
            beginequation*
            xymatrix@!=3.5pc![llu];[lld]hole[lll]\
            & E ar[r] & F &

            endequation*
            enddocument


            produces
            desired diagram







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered May 31 at 3:36









            Phil HirschhornPhil Hirschhorn

            7,31211730




            7,31211730







            • 1





              Amazing! (I would have thought this is too tough for xy, so +1.)

              – marmot
              May 31 at 3:50












            • @marmot Thanks; I do admit that the tikz-cd approach is overall cleaner and more intuitive.

              – Phil Hirschhorn
              May 31 at 3:57











            • I guess it is always a matter what one is more familiar with. I think your solution is simple and good, and answers the question, which is on xy.

              – marmot
              May 31 at 3:59













            • 1





              Amazing! (I would have thought this is too tough for xy, so +1.)

              – marmot
              May 31 at 3:50












            • @marmot Thanks; I do admit that the tikz-cd approach is overall cleaner and more intuitive.

              – Phil Hirschhorn
              May 31 at 3:57











            • I guess it is always a matter what one is more familiar with. I think your solution is simple and good, and answers the question, which is on xy.

              – marmot
              May 31 at 3:59








            1




            1





            Amazing! (I would have thought this is too tough for xy, so +1.)

            – marmot
            May 31 at 3:50






            Amazing! (I would have thought this is too tough for xy, so +1.)

            – marmot
            May 31 at 3:50














            @marmot Thanks; I do admit that the tikz-cd approach is overall cleaner and more intuitive.

            – Phil Hirschhorn
            May 31 at 3:57





            @marmot Thanks; I do admit that the tikz-cd approach is overall cleaner and more intuitive.

            – Phil Hirschhorn
            May 31 at 3:57













            I guess it is always a matter what one is more familiar with. I think your solution is simple and good, and answers the question, which is on xy.

            – marmot
            May 31 at 3:59






            I guess it is always a matter what one is more familiar with. I think your solution is simple and good, and answers the question, which is on xy.

            – marmot
            May 31 at 3:59












            2














            Just for fun: a tikz-cd realization.



            documentclassarticle
            usepackagetikz-cd
            begindocument
            begintikzcd[column sep=2em,row sep=2em]
            & A arrow[r] & B & \
            C arrow[rrr,yshift=0.65ex]& & & arrow[lll,yshift=-0.65ex] D\
            & E arrow[r] arrow[uu,<-,crossing over] & F arrow[uu,<-,crossing over]& \
            endtikzcd
            enddocument


            enter image description here






            share|improve this answer



























              2














              Just for fun: a tikz-cd realization.



              documentclassarticle
              usepackagetikz-cd
              begindocument
              begintikzcd[column sep=2em,row sep=2em]
              & A arrow[r] & B & \
              C arrow[rrr,yshift=0.65ex]& & & arrow[lll,yshift=-0.65ex] D\
              & E arrow[r] arrow[uu,<-,crossing over] & F arrow[uu,<-,crossing over]& \
              endtikzcd
              enddocument


              enter image description here






              share|improve this answer

























                2












                2








                2







                Just for fun: a tikz-cd realization.



                documentclassarticle
                usepackagetikz-cd
                begindocument
                begintikzcd[column sep=2em,row sep=2em]
                & A arrow[r] & B & \
                C arrow[rrr,yshift=0.65ex]& & & arrow[lll,yshift=-0.65ex] D\
                & E arrow[r] arrow[uu,<-,crossing over] & F arrow[uu,<-,crossing over]& \
                endtikzcd
                enddocument


                enter image description here






                share|improve this answer













                Just for fun: a tikz-cd realization.



                documentclassarticle
                usepackagetikz-cd
                begindocument
                begintikzcd[column sep=2em,row sep=2em]
                & A arrow[r] & B & \
                C arrow[rrr,yshift=0.65ex]& & & arrow[lll,yshift=-0.65ex] D\
                & E arrow[r] arrow[uu,<-,crossing over] & F arrow[uu,<-,crossing over]& \
                endtikzcd
                enddocument


                enter image description here







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 31 at 0:55









                marmotmarmot

                133k6171320




                133k6171320




















                    Sia is a new contributor. Be nice, and check out our Code of Conduct.









                    draft saved

                    draft discarded


















                    Sia is a new contributor. Be nice, and check out our Code of Conduct.












                    Sia is a new contributor. Be nice, and check out our Code of Conduct.











                    Sia is a new contributor. Be nice, and check out our Code of Conduct.














                    Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f493443%2fin-xy-pic-two-parallel-arrows-passing-under-a-shape-are-not-parallel-when-they%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                    Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

                    Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?