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

                    Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

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

                    Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form