Problem with a commutative diagramCommutative diagram using TeX WriterError in Tikz-cd packageAdd to commutative diagramDefine a commutative diagram and reuse itHow to make a commutative diagram using tikz-cd?Commutative diagram for modified cubeArrow to side of commutative diagramCommutative diagrams and arrowsLength vertical arrow in commutative diagramCommutative diagram with non-uniform arrows

How do you link two checking accounts from two different banks in two different countries?

I was mistakenly identified as a criminal, and this has caused rumors. How can I convince my friends that it is all a mistake?

Why does telnet on a non existent port not directly reject, but time out?

Is a turbocharged piston aircraft the same thing as turboprop?

How are side-channel attacks executed? What does an attacker need to execute a side channel attack?

Is it possible to save a (science) PhD in 10 months?

What does "T.O." mean?

Why is Google's quantum supremacy experiment impressive?

How should chips with pins on bottom be drawn?

Transit in Amsterdam for 10 hours, do I have time to visit the city for sightseeing?

Is there a Ukrainian transcript of Trump's controversial July 25 call to President Zelensky?

Determine if the following are ideals.

Can `r` be used for multiple letters?

If someone orders a pizza in the US and doesn't pay for it, could they be arrested?

Cheat at Rock-Paper-Scissors-Lizard-Spock

Log user out after change of IP address?

How exactly do you avoid fooling yourself?

Wood versus marble rolling pin 'performance'

Peano's dot notation

Is this bible in Koine Greek?

Creating cryptographic algorithms at runtime

Has an engineer called Trevor Jackson invented a revolutionary battery allowing for a car range of 1500 miles?

Is it possible to be admitted to CS PhD programs (in US) with scholarship at age 18?

How to deal with a 6 year old who was "caught" cheating?



Problem with a commutative diagram


Commutative diagram using TeX WriterError in Tikz-cd packageAdd to commutative diagramDefine a commutative diagram and reuse itHow to make a commutative diagram using tikz-cd?Commutative diagram for modified cubeArrow to side of commutative diagramCommutative diagrams and arrowsLength vertical arrow in commutative diagramCommutative diagram with non-uniform arrows






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









7

















I want to draw this diagram:



here



And I have tried out the following code which is not working:



[
begintikzcd
& E arrowru arrowdr$pi$
& E^'arrowdl$pi^'$\
& X
endtikzcd
]


Any help is appreciated.



Edit: There should be a u over the arrow from E to E' in the picture.










share|improve this question























  • 1





    Note that E^' is wrong; it should be E'. Also the arguments to arrow are already in math mode, so $ should not be used in them.

    – egreg
    Oct 14 at 20:42

















7

















I want to draw this diagram:



here



And I have tried out the following code which is not working:



[
begintikzcd
& E arrowru arrowdr$pi$
& E^'arrowdl$pi^'$\
& X
endtikzcd
]


Any help is appreciated.



Edit: There should be a u over the arrow from E to E' in the picture.










share|improve this question























  • 1





    Note that E^' is wrong; it should be E'. Also the arguments to arrow are already in math mode, so $ should not be used in them.

    – egreg
    Oct 14 at 20:42













7












7








7


2






I want to draw this diagram:



here



And I have tried out the following code which is not working:



[
begintikzcd
& E arrowru arrowdr$pi$
& E^'arrowdl$pi^'$\
& X
endtikzcd
]


Any help is appreciated.



Edit: There should be a u over the arrow from E to E' in the picture.










share|improve this question

















I want to draw this diagram:



here



And I have tried out the following code which is not working:



[
begintikzcd
& E arrowru arrowdr$pi$
& E^'arrowdl$pi^'$\
& X
endtikzcd
]


Any help is appreciated.



Edit: There should be a u over the arrow from E to E' in the picture.







tikz-cd commutative-diagrams






share|improve this question
















share|improve this question













share|improve this question




share|improve this question








edited Oct 16 at 1:42









MrWhite

1054 bronze badges




1054 bronze badges










asked Oct 14 at 17:01









LarssonLarsson

1845 bronze badges




1845 bronze badges










  • 1





    Note that E^' is wrong; it should be E'. Also the arguments to arrow are already in math mode, so $ should not be used in them.

    – egreg
    Oct 14 at 20:42












  • 1





    Note that E^' is wrong; it should be E'. Also the arguments to arrow are already in math mode, so $ should not be used in them.

    – egreg
    Oct 14 at 20:42







1




1





Note that E^' is wrong; it should be E'. Also the arguments to arrow are already in math mode, so $ should not be used in them.

– egreg
Oct 14 at 20:42





Note that E^' is wrong; it should be E'. Also the arguments to arrow are already in math mode, so $ should not be used in them.

– egreg
Oct 14 at 20:42










4 Answers
4






active

oldest

votes


















11


















You need three columns. But also to vertically align pi and pi'.



With setheightxy we typeset x, but as if its vertical dimensions were those of y.



documentclassarticle
usepackageamsmath
usepackagetikz-cd

newcommandsetheight[2]smash#1vphantom#2

begindocument

begintikzcd[column sep=small]
E arrow[rd, "pi"'] arrow[rr, "u"] & & E' arrow[ld, "setheightpi'pi"] \
& X
endtikzcd

enddocument


enter image description here






share|improve this answer





















  • 5





    A concise solution which just goes the extra mile to look a little bit cleaner; great answer!

    – Peiffap
    Oct 14 at 20:45



















8


















documentclassarticle
usepackagetikz-cd
begindocument
[
begintikzcd
E arrow[rr,"u"] arrow[dr,"pi"']
& & E'arrow[dl,"pi'"]\
& X & \
endtikzcd
]
enddocument


enter image description here






share|improve this answer

































    6


















    Here there is my proposal.



    enter image description here



    documentclass[a4paper,12pt]article
    usepackagetikz-cd
    begindocument
    begintikzcd[row sep=2 em,column sep=1em]
    E arrow[rd, "pi"'] arrow[rr, "u"] & & E' arrow[ld, "pi'"] \
    & x &
    endtikzcd
    enddocument


    ADDENDUM: a variant with xy package.



    It is possible to have pi and pi' on the same horizontal line (nearly by eye - see the distances .46 and .4) using xy package with the same tips (see option cmtip) of tikz-cd package.



    enter image description here



    documentclass[a4paper,12pt]article
    pagestyleempty
    usepackage[all,cmtip]xy
    begindocument
    xymatrix
    E ar[rr]^u
    ar[dr]_(.46)pi
    && E'ar[dl]^(.4)pi' \
    & X
    enddocument





    share|improve this answer



































      6


















      enter image description here



      documentclassarticle
      usepackagetikz-cd

      begindocument
      [
      begintikzcd[row sep=huge]
      E ar[rr,"u"] ar[dr,"pi" ']
      & & E'ar[dl, "pi'"] \
      & x &
      endtikzcd
      ]
      enddocument


      or



      enter image description here



      documentclassarticle
      usepackagetikz-cd

      begindocument
      [
      begintikzcd[row sep=huge]
      E ar[rr,"u"] ar[dr, "pi", sloped]
      & & E'ar[dl, "pi'",sloped] \
      & x &
      endtikzcd
      ]
      enddocument





      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/4.0/"u003ecc by-sa 4.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
        );



        );














        draft saved

        draft discarded
















        StackExchange.ready(
        function ()
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f512232%2fproblem-with-a-commutative-diagram%23new-answer', 'question_page');

        );

        Post as a guest















        Required, but never shown


























        4 Answers
        4






        active

        oldest

        votes








        4 Answers
        4






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        11


















        You need three columns. But also to vertically align pi and pi'.



        With setheightxy we typeset x, but as if its vertical dimensions were those of y.



        documentclassarticle
        usepackageamsmath
        usepackagetikz-cd

        newcommandsetheight[2]smash#1vphantom#2

        begindocument

        begintikzcd[column sep=small]
        E arrow[rd, "pi"'] arrow[rr, "u"] & & E' arrow[ld, "setheightpi'pi"] \
        & X
        endtikzcd

        enddocument


        enter image description here






        share|improve this answer





















        • 5





          A concise solution which just goes the extra mile to look a little bit cleaner; great answer!

          – Peiffap
          Oct 14 at 20:45
















        11


















        You need three columns. But also to vertically align pi and pi'.



        With setheightxy we typeset x, but as if its vertical dimensions were those of y.



        documentclassarticle
        usepackageamsmath
        usepackagetikz-cd

        newcommandsetheight[2]smash#1vphantom#2

        begindocument

        begintikzcd[column sep=small]
        E arrow[rd, "pi"'] arrow[rr, "u"] & & E' arrow[ld, "setheightpi'pi"] \
        & X
        endtikzcd

        enddocument


        enter image description here






        share|improve this answer





















        • 5





          A concise solution which just goes the extra mile to look a little bit cleaner; great answer!

          – Peiffap
          Oct 14 at 20:45














        11














        11










        11









        You need three columns. But also to vertically align pi and pi'.



        With setheightxy we typeset x, but as if its vertical dimensions were those of y.



        documentclassarticle
        usepackageamsmath
        usepackagetikz-cd

        newcommandsetheight[2]smash#1vphantom#2

        begindocument

        begintikzcd[column sep=small]
        E arrow[rd, "pi"'] arrow[rr, "u"] & & E' arrow[ld, "setheightpi'pi"] \
        & X
        endtikzcd

        enddocument


        enter image description here






        share|improve this answer














        You need three columns. But also to vertically align pi and pi'.



        With setheightxy we typeset x, but as if its vertical dimensions were those of y.



        documentclassarticle
        usepackageamsmath
        usepackagetikz-cd

        newcommandsetheight[2]smash#1vphantom#2

        begindocument

        begintikzcd[column sep=small]
        E arrow[rd, "pi"'] arrow[rr, "u"] & & E' arrow[ld, "setheightpi'pi"] \
        & X
        endtikzcd

        enddocument


        enter image description here







        share|improve this answer













        share|improve this answer




        share|improve this answer










        answered Oct 14 at 20:38









        egregegreg

        779k93 gold badges2027 silver badges3394 bronze badges




        779k93 gold badges2027 silver badges3394 bronze badges










        • 5





          A concise solution which just goes the extra mile to look a little bit cleaner; great answer!

          – Peiffap
          Oct 14 at 20:45













        • 5





          A concise solution which just goes the extra mile to look a little bit cleaner; great answer!

          – Peiffap
          Oct 14 at 20:45








        5




        5





        A concise solution which just goes the extra mile to look a little bit cleaner; great answer!

        – Peiffap
        Oct 14 at 20:45






        A concise solution which just goes the extra mile to look a little bit cleaner; great answer!

        – Peiffap
        Oct 14 at 20:45














        8


















        documentclassarticle
        usepackagetikz-cd
        begindocument
        [
        begintikzcd
        E arrow[rr,"u"] arrow[dr,"pi"']
        & & E'arrow[dl,"pi'"]\
        & X & \
        endtikzcd
        ]
        enddocument


        enter image description here






        share|improve this answer






























          8


















          documentclassarticle
          usepackagetikz-cd
          begindocument
          [
          begintikzcd
          E arrow[rr,"u"] arrow[dr,"pi"']
          & & E'arrow[dl,"pi'"]\
          & X & \
          endtikzcd
          ]
          enddocument


          enter image description here






          share|improve this answer




























            8














            8










            8









            documentclassarticle
            usepackagetikz-cd
            begindocument
            [
            begintikzcd
            E arrow[rr,"u"] arrow[dr,"pi"']
            & & E'arrow[dl,"pi'"]\
            & X & \
            endtikzcd
            ]
            enddocument


            enter image description here






            share|improve this answer














            documentclassarticle
            usepackagetikz-cd
            begindocument
            [
            begintikzcd
            E arrow[rr,"u"] arrow[dr,"pi"']
            & & E'arrow[dl,"pi'"]\
            & X & \
            endtikzcd
            ]
            enddocument


            enter image description here







            share|improve this answer













            share|improve this answer




            share|improve this answer










            answered Oct 14 at 17:15









            Schrödinger's catSchrödinger's cat

            19.1k1 gold badge24 silver badges44 bronze badges




            19.1k1 gold badge24 silver badges44 bronze badges
























                6


















                Here there is my proposal.



                enter image description here



                documentclass[a4paper,12pt]article
                usepackagetikz-cd
                begindocument
                begintikzcd[row sep=2 em,column sep=1em]
                E arrow[rd, "pi"'] arrow[rr, "u"] & & E' arrow[ld, "pi'"] \
                & x &
                endtikzcd
                enddocument


                ADDENDUM: a variant with xy package.



                It is possible to have pi and pi' on the same horizontal line (nearly by eye - see the distances .46 and .4) using xy package with the same tips (see option cmtip) of tikz-cd package.



                enter image description here



                documentclass[a4paper,12pt]article
                pagestyleempty
                usepackage[all,cmtip]xy
                begindocument
                xymatrix
                E ar[rr]^u
                ar[dr]_(.46)pi
                && E'ar[dl]^(.4)pi' \
                & X
                enddocument





                share|improve this answer
































                  6


















                  Here there is my proposal.



                  enter image description here



                  documentclass[a4paper,12pt]article
                  usepackagetikz-cd
                  begindocument
                  begintikzcd[row sep=2 em,column sep=1em]
                  E arrow[rd, "pi"'] arrow[rr, "u"] & & E' arrow[ld, "pi'"] \
                  & x &
                  endtikzcd
                  enddocument


                  ADDENDUM: a variant with xy package.



                  It is possible to have pi and pi' on the same horizontal line (nearly by eye - see the distances .46 and .4) using xy package with the same tips (see option cmtip) of tikz-cd package.



                  enter image description here



                  documentclass[a4paper,12pt]article
                  pagestyleempty
                  usepackage[all,cmtip]xy
                  begindocument
                  xymatrix
                  E ar[rr]^u
                  ar[dr]_(.46)pi
                  && E'ar[dl]^(.4)pi' \
                  & X
                  enddocument





                  share|improve this answer






























                    6














                    6










                    6









                    Here there is my proposal.



                    enter image description here



                    documentclass[a4paper,12pt]article
                    usepackagetikz-cd
                    begindocument
                    begintikzcd[row sep=2 em,column sep=1em]
                    E arrow[rd, "pi"'] arrow[rr, "u"] & & E' arrow[ld, "pi'"] \
                    & x &
                    endtikzcd
                    enddocument


                    ADDENDUM: a variant with xy package.



                    It is possible to have pi and pi' on the same horizontal line (nearly by eye - see the distances .46 and .4) using xy package with the same tips (see option cmtip) of tikz-cd package.



                    enter image description here



                    documentclass[a4paper,12pt]article
                    pagestyleempty
                    usepackage[all,cmtip]xy
                    begindocument
                    xymatrix
                    E ar[rr]^u
                    ar[dr]_(.46)pi
                    && E'ar[dl]^(.4)pi' \
                    & X
                    enddocument





                    share|improve this answer
















                    Here there is my proposal.



                    enter image description here



                    documentclass[a4paper,12pt]article
                    usepackagetikz-cd
                    begindocument
                    begintikzcd[row sep=2 em,column sep=1em]
                    E arrow[rd, "pi"'] arrow[rr, "u"] & & E' arrow[ld, "pi'"] \
                    & x &
                    endtikzcd
                    enddocument


                    ADDENDUM: a variant with xy package.



                    It is possible to have pi and pi' on the same horizontal line (nearly by eye - see the distances .46 and .4) using xy package with the same tips (see option cmtip) of tikz-cd package.



                    enter image description here



                    documentclass[a4paper,12pt]article
                    pagestyleempty
                    usepackage[all,cmtip]xy
                    begindocument
                    xymatrix
                    E ar[rr]^u
                    ar[dr]_(.46)pi
                    && E'ar[dl]^(.4)pi' \
                    & X
                    enddocument






                    share|improve this answer















                    share|improve this answer




                    share|improve this answer








                    edited Oct 15 at 14:10

























                    answered Oct 14 at 17:20









                    SebastianoSebastiano

                    17.2k5 gold badges29 silver badges84 bronze badges




                    17.2k5 gold badges29 silver badges84 bronze badges
























                        6


















                        enter image description here



                        documentclassarticle
                        usepackagetikz-cd

                        begindocument
                        [
                        begintikzcd[row sep=huge]
                        E ar[rr,"u"] ar[dr,"pi" ']
                        & & E'ar[dl, "pi'"] \
                        & x &
                        endtikzcd
                        ]
                        enddocument


                        or



                        enter image description here



                        documentclassarticle
                        usepackagetikz-cd

                        begindocument
                        [
                        begintikzcd[row sep=huge]
                        E ar[rr,"u"] ar[dr, "pi", sloped]
                        & & E'ar[dl, "pi'",sloped] \
                        & x &
                        endtikzcd
                        ]
                        enddocument





                        share|improve this answer
































                          6


















                          enter image description here



                          documentclassarticle
                          usepackagetikz-cd

                          begindocument
                          [
                          begintikzcd[row sep=huge]
                          E ar[rr,"u"] ar[dr,"pi" ']
                          & & E'ar[dl, "pi'"] \
                          & x &
                          endtikzcd
                          ]
                          enddocument


                          or



                          enter image description here



                          documentclassarticle
                          usepackagetikz-cd

                          begindocument
                          [
                          begintikzcd[row sep=huge]
                          E ar[rr,"u"] ar[dr, "pi", sloped]
                          & & E'ar[dl, "pi'",sloped] \
                          & x &
                          endtikzcd
                          ]
                          enddocument





                          share|improve this answer






























                            6














                            6










                            6









                            enter image description here



                            documentclassarticle
                            usepackagetikz-cd

                            begindocument
                            [
                            begintikzcd[row sep=huge]
                            E ar[rr,"u"] ar[dr,"pi" ']
                            & & E'ar[dl, "pi'"] \
                            & x &
                            endtikzcd
                            ]
                            enddocument


                            or



                            enter image description here



                            documentclassarticle
                            usepackagetikz-cd

                            begindocument
                            [
                            begintikzcd[row sep=huge]
                            E ar[rr,"u"] ar[dr, "pi", sloped]
                            & & E'ar[dl, "pi'",sloped] \
                            & x &
                            endtikzcd
                            ]
                            enddocument





                            share|improve this answer
















                            enter image description here



                            documentclassarticle
                            usepackagetikz-cd

                            begindocument
                            [
                            begintikzcd[row sep=huge]
                            E ar[rr,"u"] ar[dr,"pi" ']
                            & & E'ar[dl, "pi'"] \
                            & x &
                            endtikzcd
                            ]
                            enddocument


                            or



                            enter image description here



                            documentclassarticle
                            usepackagetikz-cd

                            begindocument
                            [
                            begintikzcd[row sep=huge]
                            E ar[rr,"u"] ar[dr, "pi", sloped]
                            & & E'ar[dl, "pi'",sloped] \
                            & x &
                            endtikzcd
                            ]
                            enddocument






                            share|improve this answer















                            share|improve this answer




                            share|improve this answer








                            edited Oct 15 at 20:59

























                            answered Oct 14 at 17:14









                            ZarkoZarko

                            151k8 gold badges87 silver badges199 bronze badges




                            151k8 gold badges87 silver badges199 bronze badges































                                draft saved

                                draft discarded















































                                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%2f512232%2fproblem-with-a-commutative-diagram%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

                                Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

                                Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

                                Ласкавець круглолистий Зміст Опис | Поширення | Галерея | Примітки | Посилання | Навігаційне меню58171138361-22960890446Bupleurum rotundifoliumEuro+Med PlantbasePlants of the World Online — Kew ScienceGermplasm Resources Information Network (GRIN)Ласкавецькн. VI : Літери Ком — Левиправивши або дописавши її