Diagrams in category theory












4















Can someone help me please? I'm wondering how to draw this diagram with LaTeX.
Thanks.



enter image description here










share|improve this question




















  • 8





    Welcome to TeX.SE! Such things can be drawn very conveniently with tikz-cd.

    – marmot
    Jan 6 at 22:53






  • 2





    Try documentclass{article} usepackage{tikz-cd} begin{document} begin{tikzcd} A arrow[r,"b"] arrow[d,"g"] & C arrow[r,"alpha"] arrow[d,"beta"]& D arrow[d,"gamma"]\ B arrow[rru,"h"] & B' arrow[r,"omega"] & D' end{tikzcd} end{document}

    – marmot
    Jan 6 at 22:59











  • @marmot You're flash. I lost many times with Captcha. :-(

    – Sebastiano
    Jan 6 at 23:08






  • 1





    @Sebastiano Slow marmots get caught by the eagles.

    – marmot
    Jan 6 at 23:09
















4















Can someone help me please? I'm wondering how to draw this diagram with LaTeX.
Thanks.



enter image description here










share|improve this question




















  • 8





    Welcome to TeX.SE! Such things can be drawn very conveniently with tikz-cd.

    – marmot
    Jan 6 at 22:53






  • 2





    Try documentclass{article} usepackage{tikz-cd} begin{document} begin{tikzcd} A arrow[r,"b"] arrow[d,"g"] & C arrow[r,"alpha"] arrow[d,"beta"]& D arrow[d,"gamma"]\ B arrow[rru,"h"] & B' arrow[r,"omega"] & D' end{tikzcd} end{document}

    – marmot
    Jan 6 at 22:59











  • @marmot You're flash. I lost many times with Captcha. :-(

    – Sebastiano
    Jan 6 at 23:08






  • 1





    @Sebastiano Slow marmots get caught by the eagles.

    – marmot
    Jan 6 at 23:09














4












4








4


3






Can someone help me please? I'm wondering how to draw this diagram with LaTeX.
Thanks.



enter image description here










share|improve this question
















Can someone help me please? I'm wondering how to draw this diagram with LaTeX.
Thanks.



enter image description here







tikz-pgf






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 6 at 23:14









Sebastiano

11.3k42266




11.3k42266










asked Jan 6 at 22:52







user178971















  • 8





    Welcome to TeX.SE! Such things can be drawn very conveniently with tikz-cd.

    – marmot
    Jan 6 at 22:53






  • 2





    Try documentclass{article} usepackage{tikz-cd} begin{document} begin{tikzcd} A arrow[r,"b"] arrow[d,"g"] & C arrow[r,"alpha"] arrow[d,"beta"]& D arrow[d,"gamma"]\ B arrow[rru,"h"] & B' arrow[r,"omega"] & D' end{tikzcd} end{document}

    – marmot
    Jan 6 at 22:59











  • @marmot You're flash. I lost many times with Captcha. :-(

    – Sebastiano
    Jan 6 at 23:08






  • 1





    @Sebastiano Slow marmots get caught by the eagles.

    – marmot
    Jan 6 at 23:09














  • 8





    Welcome to TeX.SE! Such things can be drawn very conveniently with tikz-cd.

    – marmot
    Jan 6 at 22:53






  • 2





    Try documentclass{article} usepackage{tikz-cd} begin{document} begin{tikzcd} A arrow[r,"b"] arrow[d,"g"] & C arrow[r,"alpha"] arrow[d,"beta"]& D arrow[d,"gamma"]\ B arrow[rru,"h"] & B' arrow[r,"omega"] & D' end{tikzcd} end{document}

    – marmot
    Jan 6 at 22:59











  • @marmot You're flash. I lost many times with Captcha. :-(

    – Sebastiano
    Jan 6 at 23:08






  • 1





    @Sebastiano Slow marmots get caught by the eagles.

    – marmot
    Jan 6 at 23:09








8




8





Welcome to TeX.SE! Such things can be drawn very conveniently with tikz-cd.

– marmot
Jan 6 at 22:53





Welcome to TeX.SE! Such things can be drawn very conveniently with tikz-cd.

– marmot
Jan 6 at 22:53




2




2





Try documentclass{article} usepackage{tikz-cd} begin{document} begin{tikzcd} A arrow[r,"b"] arrow[d,"g"] & C arrow[r,"alpha"] arrow[d,"beta"]& D arrow[d,"gamma"]\ B arrow[rru,"h"] & B' arrow[r,"omega"] & D' end{tikzcd} end{document}

– marmot
Jan 6 at 22:59





Try documentclass{article} usepackage{tikz-cd} begin{document} begin{tikzcd} A arrow[r,"b"] arrow[d,"g"] & C arrow[r,"alpha"] arrow[d,"beta"]& D arrow[d,"gamma"]\ B arrow[rru,"h"] & B' arrow[r,"omega"] & D' end{tikzcd} end{document}

– marmot
Jan 6 at 22:59













@marmot You're flash. I lost many times with Captcha. :-(

– Sebastiano
Jan 6 at 23:08





@marmot You're flash. I lost many times with Captcha. :-(

– Sebastiano
Jan 6 at 23:08




1




1





@Sebastiano Slow marmots get caught by the eagles.

– marmot
Jan 6 at 23:09





@Sebastiano Slow marmots get caught by the eagles.

– marmot
Jan 6 at 23:09










4 Answers
4






active

oldest

votes


















7














You can easily draw your diagrams with the free online tool tikzcd-editor.



Screenshot:



enter image description here



Generated Code by clicking the {} button (not an MWE):



begin{tikzcd}
A arrow[d, "g"] arrow[r, "f"] & B arrow[r, "alpha"] arrow[d, "gamma"] & D arrow[d, "beta"] \
C arrow[rru, "h"] & B' arrow[r, "lambda"] & D'
end{tikzcd}


Link to live example






share|improve this answer





















  • 1





    Certainly a very nice tool, where can you find the instructions for use?

    – AndréC
    Jan 7 at 16:50



















11














Here is a proposal.



documentclass{article} 
usepackage{tikz-cd}
begin{document}
begin{tikzcd}
A arrow[r,"b"] arrow[d,"g"] & C arrow[r,"alpha"] arrow[d,"gamma",pos=0.4,swap]& D arrow[d,"beta"]\
B arrow[rru,"h",pos=0.7,swap] & B' arrow[r,"omega"] & D'
end{tikzcd}
end{document}


enter image description here



I added the proposal to prove that users are willing to help. However, the purpose of this site is not to get screen shots converted to LaTeX code. Rather, the idea is that you try something, and if you get stuck, you have a code that you can show and others will help you solve that problem.






share|improve this answer































    7














    My code is only "basic".



    enter image description here



    documentclass{standalone}
    usepackage{tikz-cd}
    begin{document}
    begin{tikzcd}
    A arrow[r, "f"] arrow[d, "g"'] & B arrow[r, "alpha"] arrow[d, "h"'] & D arrow[d, "beta"] \
    C arrow[rru, "gamma"'] & B' arrow[r, "lambda"'] & D'
    end{tikzcd}
    end{document}





    share|improve this answer

































      7














      Another possibility is with pstricks– more precisely the psmatrix environment:



      documentclass[border=8pt]{standalone}

      usepackage{pst-node, auto-pst-pdf}

      begin{document}

      $ begin{psmatrix}[colsep =1.2cm, rowsep=1.2cm, nodesepA=2pt, nodesepB=1pt, shortput=nab, labelsep=1pt, arrows=->, arrowinset=0.12, linewidth=0.6pt]
      A & B & D \
      C & B' & D'
      %% horizontal maps
      ncline{1,1}{1,2}^{b}
      ncline{1,2}{1,3}^{alpha}
      ncline{2,2}{2,3}_{lambda}
      %% oblique map
      ncline{2,1}{1,3}naput[npos=0.7]{h}
      %% vertical maps
      ncline{1,1}{2,1}<{g}
      ncline[border=1pt]{1,2}{2,2}nbput[npos=0.35]{gamma}
      ncline{1,3}{2,3} >{beta}
      end{psmatrix} $

      end{document}


      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
        });


        }
        });














        draft saved

        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f468894%2fdiagrams-in-category-theory%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









        7














        You can easily draw your diagrams with the free online tool tikzcd-editor.



        Screenshot:



        enter image description here



        Generated Code by clicking the {} button (not an MWE):



        begin{tikzcd}
        A arrow[d, "g"] arrow[r, "f"] & B arrow[r, "alpha"] arrow[d, "gamma"] & D arrow[d, "beta"] \
        C arrow[rru, "h"] & B' arrow[r, "lambda"] & D'
        end{tikzcd}


        Link to live example






        share|improve this answer





















        • 1





          Certainly a very nice tool, where can you find the instructions for use?

          – AndréC
          Jan 7 at 16:50
















        7














        You can easily draw your diagrams with the free online tool tikzcd-editor.



        Screenshot:



        enter image description here



        Generated Code by clicking the {} button (not an MWE):



        begin{tikzcd}
        A arrow[d, "g"] arrow[r, "f"] & B arrow[r, "alpha"] arrow[d, "gamma"] & D arrow[d, "beta"] \
        C arrow[rru, "h"] & B' arrow[r, "lambda"] & D'
        end{tikzcd}


        Link to live example






        share|improve this answer





















        • 1





          Certainly a very nice tool, where can you find the instructions for use?

          – AndréC
          Jan 7 at 16:50














        7












        7








        7







        You can easily draw your diagrams with the free online tool tikzcd-editor.



        Screenshot:



        enter image description here



        Generated Code by clicking the {} button (not an MWE):



        begin{tikzcd}
        A arrow[d, "g"] arrow[r, "f"] & B arrow[r, "alpha"] arrow[d, "gamma"] & D arrow[d, "beta"] \
        C arrow[rru, "h"] & B' arrow[r, "lambda"] & D'
        end{tikzcd}


        Link to live example






        share|improve this answer















        You can easily draw your diagrams with the free online tool tikzcd-editor.



        Screenshot:



        enter image description here



        Generated Code by clicking the {} button (not an MWE):



        begin{tikzcd}
        A arrow[d, "g"] arrow[r, "f"] & B arrow[r, "alpha"] arrow[d, "gamma"] & D arrow[d, "beta"] \
        C arrow[rru, "h"] & B' arrow[r, "lambda"] & D'
        end{tikzcd}


        Link to live example







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jan 7 at 6:21

























        answered Jan 7 at 5:40









        Henri MenkeHenri Menke

        77.3k8171285




        77.3k8171285








        • 1





          Certainly a very nice tool, where can you find the instructions for use?

          – AndréC
          Jan 7 at 16:50














        • 1





          Certainly a very nice tool, where can you find the instructions for use?

          – AndréC
          Jan 7 at 16:50








        1




        1





        Certainly a very nice tool, where can you find the instructions for use?

        – AndréC
        Jan 7 at 16:50





        Certainly a very nice tool, where can you find the instructions for use?

        – AndréC
        Jan 7 at 16:50











        11














        Here is a proposal.



        documentclass{article} 
        usepackage{tikz-cd}
        begin{document}
        begin{tikzcd}
        A arrow[r,"b"] arrow[d,"g"] & C arrow[r,"alpha"] arrow[d,"gamma",pos=0.4,swap]& D arrow[d,"beta"]\
        B arrow[rru,"h",pos=0.7,swap] & B' arrow[r,"omega"] & D'
        end{tikzcd}
        end{document}


        enter image description here



        I added the proposal to prove that users are willing to help. However, the purpose of this site is not to get screen shots converted to LaTeX code. Rather, the idea is that you try something, and if you get stuck, you have a code that you can show and others will help you solve that problem.






        share|improve this answer




























          11














          Here is a proposal.



          documentclass{article} 
          usepackage{tikz-cd}
          begin{document}
          begin{tikzcd}
          A arrow[r,"b"] arrow[d,"g"] & C arrow[r,"alpha"] arrow[d,"gamma",pos=0.4,swap]& D arrow[d,"beta"]\
          B arrow[rru,"h",pos=0.7,swap] & B' arrow[r,"omega"] & D'
          end{tikzcd}
          end{document}


          enter image description here



          I added the proposal to prove that users are willing to help. However, the purpose of this site is not to get screen shots converted to LaTeX code. Rather, the idea is that you try something, and if you get stuck, you have a code that you can show and others will help you solve that problem.






          share|improve this answer


























            11












            11








            11







            Here is a proposal.



            documentclass{article} 
            usepackage{tikz-cd}
            begin{document}
            begin{tikzcd}
            A arrow[r,"b"] arrow[d,"g"] & C arrow[r,"alpha"] arrow[d,"gamma",pos=0.4,swap]& D arrow[d,"beta"]\
            B arrow[rru,"h",pos=0.7,swap] & B' arrow[r,"omega"] & D'
            end{tikzcd}
            end{document}


            enter image description here



            I added the proposal to prove that users are willing to help. However, the purpose of this site is not to get screen shots converted to LaTeX code. Rather, the idea is that you try something, and if you get stuck, you have a code that you can show and others will help you solve that problem.






            share|improve this answer













            Here is a proposal.



            documentclass{article} 
            usepackage{tikz-cd}
            begin{document}
            begin{tikzcd}
            A arrow[r,"b"] arrow[d,"g"] & C arrow[r,"alpha"] arrow[d,"gamma",pos=0.4,swap]& D arrow[d,"beta"]\
            B arrow[rru,"h",pos=0.7,swap] & B' arrow[r,"omega"] & D'
            end{tikzcd}
            end{document}


            enter image description here



            I added the proposal to prove that users are willing to help. However, the purpose of this site is not to get screen shots converted to LaTeX code. Rather, the idea is that you try something, and if you get stuck, you have a code that you can show and others will help you solve that problem.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jan 6 at 23:07









            marmotmarmot

            117k5150283




            117k5150283























                7














                My code is only "basic".



                enter image description here



                documentclass{standalone}
                usepackage{tikz-cd}
                begin{document}
                begin{tikzcd}
                A arrow[r, "f"] arrow[d, "g"'] & B arrow[r, "alpha"] arrow[d, "h"'] & D arrow[d, "beta"] \
                C arrow[rru, "gamma"'] & B' arrow[r, "lambda"'] & D'
                end{tikzcd}
                end{document}





                share|improve this answer






























                  7














                  My code is only "basic".



                  enter image description here



                  documentclass{standalone}
                  usepackage{tikz-cd}
                  begin{document}
                  begin{tikzcd}
                  A arrow[r, "f"] arrow[d, "g"'] & B arrow[r, "alpha"] arrow[d, "h"'] & D arrow[d, "beta"] \
                  C arrow[rru, "gamma"'] & B' arrow[r, "lambda"'] & D'
                  end{tikzcd}
                  end{document}





                  share|improve this answer




























                    7












                    7








                    7







                    My code is only "basic".



                    enter image description here



                    documentclass{standalone}
                    usepackage{tikz-cd}
                    begin{document}
                    begin{tikzcd}
                    A arrow[r, "f"] arrow[d, "g"'] & B arrow[r, "alpha"] arrow[d, "h"'] & D arrow[d, "beta"] \
                    C arrow[rru, "gamma"'] & B' arrow[r, "lambda"'] & D'
                    end{tikzcd}
                    end{document}





                    share|improve this answer















                    My code is only "basic".



                    enter image description here



                    documentclass{standalone}
                    usepackage{tikz-cd}
                    begin{document}
                    begin{tikzcd}
                    A arrow[r, "f"] arrow[d, "g"'] & B arrow[r, "alpha"] arrow[d, "h"'] & D arrow[d, "beta"] \
                    C arrow[rru, "gamma"'] & B' arrow[r, "lambda"'] & D'
                    end{tikzcd}
                    end{document}






                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Jan 6 at 23:10

























                    answered Jan 6 at 23:06









                    SebastianoSebastiano

                    11.3k42266




                    11.3k42266























                        7














                        Another possibility is with pstricks– more precisely the psmatrix environment:



                        documentclass[border=8pt]{standalone}

                        usepackage{pst-node, auto-pst-pdf}

                        begin{document}

                        $ begin{psmatrix}[colsep =1.2cm, rowsep=1.2cm, nodesepA=2pt, nodesepB=1pt, shortput=nab, labelsep=1pt, arrows=->, arrowinset=0.12, linewidth=0.6pt]
                        A & B & D \
                        C & B' & D'
                        %% horizontal maps
                        ncline{1,1}{1,2}^{b}
                        ncline{1,2}{1,3}^{alpha}
                        ncline{2,2}{2,3}_{lambda}
                        %% oblique map
                        ncline{2,1}{1,3}naput[npos=0.7]{h}
                        %% vertical maps
                        ncline{1,1}{2,1}<{g}
                        ncline[border=1pt]{1,2}{2,2}nbput[npos=0.35]{gamma}
                        ncline{1,3}{2,3} >{beta}
                        end{psmatrix} $

                        end{document}


                        enter image description here






                        share|improve this answer




























                          7














                          Another possibility is with pstricks– more precisely the psmatrix environment:



                          documentclass[border=8pt]{standalone}

                          usepackage{pst-node, auto-pst-pdf}

                          begin{document}

                          $ begin{psmatrix}[colsep =1.2cm, rowsep=1.2cm, nodesepA=2pt, nodesepB=1pt, shortput=nab, labelsep=1pt, arrows=->, arrowinset=0.12, linewidth=0.6pt]
                          A & B & D \
                          C & B' & D'
                          %% horizontal maps
                          ncline{1,1}{1,2}^{b}
                          ncline{1,2}{1,3}^{alpha}
                          ncline{2,2}{2,3}_{lambda}
                          %% oblique map
                          ncline{2,1}{1,3}naput[npos=0.7]{h}
                          %% vertical maps
                          ncline{1,1}{2,1}<{g}
                          ncline[border=1pt]{1,2}{2,2}nbput[npos=0.35]{gamma}
                          ncline{1,3}{2,3} >{beta}
                          end{psmatrix} $

                          end{document}


                          enter image description here






                          share|improve this answer


























                            7












                            7








                            7







                            Another possibility is with pstricks– more precisely the psmatrix environment:



                            documentclass[border=8pt]{standalone}

                            usepackage{pst-node, auto-pst-pdf}

                            begin{document}

                            $ begin{psmatrix}[colsep =1.2cm, rowsep=1.2cm, nodesepA=2pt, nodesepB=1pt, shortput=nab, labelsep=1pt, arrows=->, arrowinset=0.12, linewidth=0.6pt]
                            A & B & D \
                            C & B' & D'
                            %% horizontal maps
                            ncline{1,1}{1,2}^{b}
                            ncline{1,2}{1,3}^{alpha}
                            ncline{2,2}{2,3}_{lambda}
                            %% oblique map
                            ncline{2,1}{1,3}naput[npos=0.7]{h}
                            %% vertical maps
                            ncline{1,1}{2,1}<{g}
                            ncline[border=1pt]{1,2}{2,2}nbput[npos=0.35]{gamma}
                            ncline{1,3}{2,3} >{beta}
                            end{psmatrix} $

                            end{document}


                            enter image description here






                            share|improve this answer













                            Another possibility is with pstricks– more precisely the psmatrix environment:



                            documentclass[border=8pt]{standalone}

                            usepackage{pst-node, auto-pst-pdf}

                            begin{document}

                            $ begin{psmatrix}[colsep =1.2cm, rowsep=1.2cm, nodesepA=2pt, nodesepB=1pt, shortput=nab, labelsep=1pt, arrows=->, arrowinset=0.12, linewidth=0.6pt]
                            A & B & D \
                            C & B' & D'
                            %% horizontal maps
                            ncline{1,1}{1,2}^{b}
                            ncline{1,2}{1,3}^{alpha}
                            ncline{2,2}{2,3}_{lambda}
                            %% oblique map
                            ncline{2,1}{1,3}naput[npos=0.7]{h}
                            %% vertical maps
                            ncline{1,1}{2,1}<{g}
                            ncline[border=1pt]{1,2}{2,2}nbput[npos=0.35]{gamma}
                            ncline{1,3}{2,3} >{beta}
                            end{psmatrix} $

                            end{document}


                            enter image description here







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Jan 7 at 0:22









                            BernardBernard

                            176k778210




                            176k778210






























                                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%2f468894%2fdiagrams-in-category-theory%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

                                To store a contact into the json file from server.js file using a class in NodeJS

                                Redirect URL with Chrome Remote Debugging Android Devices

                                Dieringhausen