arrow length and text placing to left in tikzcd

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












3















I am trying this:



documentclass[10pt]article

usepackageamsmath,amssymb,tikz-cd

begindocument

beginequation*
begintikzcd[row sep=huge]

A arrow[r, "aaa"] arrow[d, "xxxx"] & B arrow[d, "yyyy"] \

C & D arrow[l, "bbbbbbbbbbbbbbbbb"] \

endtikzcd

endequation*

enddocument


and I would like to fix 2 things:



1) The arrow over the "bbbbbbbbbbbbbbbbbbbb" label should be longer, so the pic does not look so cramped.
2) I would like the "xxxx" label to be on the left of the down arrow.



Thank you.










share|improve this question




























    3















    I am trying this:



    documentclass[10pt]article

    usepackageamsmath,amssymb,tikz-cd

    begindocument

    beginequation*
    begintikzcd[row sep=huge]

    A arrow[r, "aaa"] arrow[d, "xxxx"] & B arrow[d, "yyyy"] \

    C & D arrow[l, "bbbbbbbbbbbbbbbbb"] \

    endtikzcd

    endequation*

    enddocument


    and I would like to fix 2 things:



    1) The arrow over the "bbbbbbbbbbbbbbbbbbbb" label should be longer, so the pic does not look so cramped.
    2) I would like the "xxxx" label to be on the left of the down arrow.



    Thank you.










    share|improve this question


























      3












      3








      3








      I am trying this:



      documentclass[10pt]article

      usepackageamsmath,amssymb,tikz-cd

      begindocument

      beginequation*
      begintikzcd[row sep=huge]

      A arrow[r, "aaa"] arrow[d, "xxxx"] & B arrow[d, "yyyy"] \

      C & D arrow[l, "bbbbbbbbbbbbbbbbb"] \

      endtikzcd

      endequation*

      enddocument


      and I would like to fix 2 things:



      1) The arrow over the "bbbbbbbbbbbbbbbbbbbb" label should be longer, so the pic does not look so cramped.
      2) I would like the "xxxx" label to be on the left of the down arrow.



      Thank you.










      share|improve this question
















      I am trying this:



      documentclass[10pt]article

      usepackageamsmath,amssymb,tikz-cd

      begindocument

      beginequation*
      begintikzcd[row sep=huge]

      A arrow[r, "aaa"] arrow[d, "xxxx"] & B arrow[d, "yyyy"] \

      C & D arrow[l, "bbbbbbbbbbbbbbbbb"] \

      endtikzcd

      endequation*

      enddocument


      and I would like to fix 2 things:



      1) The arrow over the "bbbbbbbbbbbbbbbbbbbb" label should be longer, so the pic does not look so cramped.
      2) I would like the "xxxx" label to be on the left of the down arrow.



      Thank you.







      arrows tikz-cd






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 24 at 19:46









      marmot

      99.5k4115220




      99.5k4115220










      asked Jan 24 at 19:45









      district9district9

      856




      856




















          2 Answers
          2






          active

          oldest

          votes


















          2














          Like this?



          documentclass[10pt]article

          usepackageamsmath,amssymb,tikz-cd

          begindocument

          beginequation*
          begintikzcd[row sep=huge,column sep=width("bbbbbbbbbbbbbbbbb")]
          A arrow[r, "aaa"] arrow[d, "mathrmxxxx" swap] & B arrow[d,
          "mathrmyyyy"] \
          C & D arrow[l, "bbbbbbbbbbbbbbbbb"] \
          endtikzcd
          endequation*

          enddocument


          enter image description here






          share|improve this answer

























          • The arrow length over the "bbbbbbb" is perfect, thank you. But I want the "xxx" label to be at the same height as the "yyyyy" label, but to the left of the A to C downarrow.

            – district9
            Jan 24 at 19:52











          • @district9 Yes, in the updated version it is there. (I misread your question first.)

            – marmot
            Jan 24 at 19:52











          • Almost there, I just need to make the label on the arrow in roman. I tried to replace the arrow[d, "yyyy"] with arrow[d, rm "yyyy"], but it does not seem to compile. Thanks!

            – district9
            Jan 24 at 21:29











          • @district9 Sorry, was offline. You need to put the information inside the quotes (and mathrm is more appropriate than rm). I made xxxx and yyy upright. There also different options like text or mathup, it depends on what you really aim at.

            – marmot
            Jan 24 at 22:05



















          2














          From the TikZ manual, Section 20.3.2 Setting and Adjusting Column and Row Spacing




          The cell separation character & also takes an optional argument, which
          must also be a spacing list. This spacing list is added to the column
          sep having a similar effect as the option for the \ command for rows.

          This optional spacing list can only be given the first time a new
          column is started (usually in the first row), subsequent usages of
          this option in later rows have no effect.




          In practice, if you put a [<width>] after &, for example &[7em], you can enlarge the space between the two columns separated by &[<width>] as you wish.



          The option column sep=<width> sets a default spacing for all columns.



          This difference could be relevant in case you have a matrix with more than two columns. If you want to enlarge only the space between the first and the second columns, but not between the second and the third, &[<width>] should be used, not column sep=<width>.



          Option swap to change the position of the label.



          documentclass[10pt]article

          usepackageamsmath,amssymb,tikz-cd

          begindocument

          beginequation*
          begintikzcd[row sep=huge]
          A arrow[r, "aaa"] arrow[d, "xxxx", swap] &[7em] B arrow[d, "yyyy"] \
          C & D arrow[l, "bbbbbbbbbbbbbbbbb"] \
          endtikzcd
          endequation*

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



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f471711%2farrow-length-and-text-placing-to-left-in-tikzcd%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









            2














            Like this?



            documentclass[10pt]article

            usepackageamsmath,amssymb,tikz-cd

            begindocument

            beginequation*
            begintikzcd[row sep=huge,column sep=width("bbbbbbbbbbbbbbbbb")]
            A arrow[r, "aaa"] arrow[d, "mathrmxxxx" swap] & B arrow[d,
            "mathrmyyyy"] \
            C & D arrow[l, "bbbbbbbbbbbbbbbbb"] \
            endtikzcd
            endequation*

            enddocument


            enter image description here






            share|improve this answer

























            • The arrow length over the "bbbbbbb" is perfect, thank you. But I want the "xxx" label to be at the same height as the "yyyyy" label, but to the left of the A to C downarrow.

              – district9
              Jan 24 at 19:52











            • @district9 Yes, in the updated version it is there. (I misread your question first.)

              – marmot
              Jan 24 at 19:52











            • Almost there, I just need to make the label on the arrow in roman. I tried to replace the arrow[d, "yyyy"] with arrow[d, rm "yyyy"], but it does not seem to compile. Thanks!

              – district9
              Jan 24 at 21:29











            • @district9 Sorry, was offline. You need to put the information inside the quotes (and mathrm is more appropriate than rm). I made xxxx and yyy upright. There also different options like text or mathup, it depends on what you really aim at.

              – marmot
              Jan 24 at 22:05
















            2














            Like this?



            documentclass[10pt]article

            usepackageamsmath,amssymb,tikz-cd

            begindocument

            beginequation*
            begintikzcd[row sep=huge,column sep=width("bbbbbbbbbbbbbbbbb")]
            A arrow[r, "aaa"] arrow[d, "mathrmxxxx" swap] & B arrow[d,
            "mathrmyyyy"] \
            C & D arrow[l, "bbbbbbbbbbbbbbbbb"] \
            endtikzcd
            endequation*

            enddocument


            enter image description here






            share|improve this answer

























            • The arrow length over the "bbbbbbb" is perfect, thank you. But I want the "xxx" label to be at the same height as the "yyyyy" label, but to the left of the A to C downarrow.

              – district9
              Jan 24 at 19:52











            • @district9 Yes, in the updated version it is there. (I misread your question first.)

              – marmot
              Jan 24 at 19:52











            • Almost there, I just need to make the label on the arrow in roman. I tried to replace the arrow[d, "yyyy"] with arrow[d, rm "yyyy"], but it does not seem to compile. Thanks!

              – district9
              Jan 24 at 21:29











            • @district9 Sorry, was offline. You need to put the information inside the quotes (and mathrm is more appropriate than rm). I made xxxx and yyy upright. There also different options like text or mathup, it depends on what you really aim at.

              – marmot
              Jan 24 at 22:05














            2












            2








            2







            Like this?



            documentclass[10pt]article

            usepackageamsmath,amssymb,tikz-cd

            begindocument

            beginequation*
            begintikzcd[row sep=huge,column sep=width("bbbbbbbbbbbbbbbbb")]
            A arrow[r, "aaa"] arrow[d, "mathrmxxxx" swap] & B arrow[d,
            "mathrmyyyy"] \
            C & D arrow[l, "bbbbbbbbbbbbbbbbb"] \
            endtikzcd
            endequation*

            enddocument


            enter image description here






            share|improve this answer















            Like this?



            documentclass[10pt]article

            usepackageamsmath,amssymb,tikz-cd

            begindocument

            beginequation*
            begintikzcd[row sep=huge,column sep=width("bbbbbbbbbbbbbbbbb")]
            A arrow[r, "aaa"] arrow[d, "mathrmxxxx" swap] & B arrow[d,
            "mathrmyyyy"] \
            C & D arrow[l, "bbbbbbbbbbbbbbbbb"] \
            endtikzcd
            endequation*

            enddocument


            enter image description here







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jan 24 at 22:04

























            answered Jan 24 at 19:48









            marmotmarmot

            99.5k4115220




            99.5k4115220












            • The arrow length over the "bbbbbbb" is perfect, thank you. But I want the "xxx" label to be at the same height as the "yyyyy" label, but to the left of the A to C downarrow.

              – district9
              Jan 24 at 19:52











            • @district9 Yes, in the updated version it is there. (I misread your question first.)

              – marmot
              Jan 24 at 19:52











            • Almost there, I just need to make the label on the arrow in roman. I tried to replace the arrow[d, "yyyy"] with arrow[d, rm "yyyy"], but it does not seem to compile. Thanks!

              – district9
              Jan 24 at 21:29











            • @district9 Sorry, was offline. You need to put the information inside the quotes (and mathrm is more appropriate than rm). I made xxxx and yyy upright. There also different options like text or mathup, it depends on what you really aim at.

              – marmot
              Jan 24 at 22:05


















            • The arrow length over the "bbbbbbb" is perfect, thank you. But I want the "xxx" label to be at the same height as the "yyyyy" label, but to the left of the A to C downarrow.

              – district9
              Jan 24 at 19:52











            • @district9 Yes, in the updated version it is there. (I misread your question first.)

              – marmot
              Jan 24 at 19:52











            • Almost there, I just need to make the label on the arrow in roman. I tried to replace the arrow[d, "yyyy"] with arrow[d, rm "yyyy"], but it does not seem to compile. Thanks!

              – district9
              Jan 24 at 21:29











            • @district9 Sorry, was offline. You need to put the information inside the quotes (and mathrm is more appropriate than rm). I made xxxx and yyy upright. There also different options like text or mathup, it depends on what you really aim at.

              – marmot
              Jan 24 at 22:05

















            The arrow length over the "bbbbbbb" is perfect, thank you. But I want the "xxx" label to be at the same height as the "yyyyy" label, but to the left of the A to C downarrow.

            – district9
            Jan 24 at 19:52





            The arrow length over the "bbbbbbb" is perfect, thank you. But I want the "xxx" label to be at the same height as the "yyyyy" label, but to the left of the A to C downarrow.

            – district9
            Jan 24 at 19:52













            @district9 Yes, in the updated version it is there. (I misread your question first.)

            – marmot
            Jan 24 at 19:52





            @district9 Yes, in the updated version it is there. (I misread your question first.)

            – marmot
            Jan 24 at 19:52













            Almost there, I just need to make the label on the arrow in roman. I tried to replace the arrow[d, "yyyy"] with arrow[d, rm "yyyy"], but it does not seem to compile. Thanks!

            – district9
            Jan 24 at 21:29





            Almost there, I just need to make the label on the arrow in roman. I tried to replace the arrow[d, "yyyy"] with arrow[d, rm "yyyy"], but it does not seem to compile. Thanks!

            – district9
            Jan 24 at 21:29













            @district9 Sorry, was offline. You need to put the information inside the quotes (and mathrm is more appropriate than rm). I made xxxx and yyy upright. There also different options like text or mathup, it depends on what you really aim at.

            – marmot
            Jan 24 at 22:05






            @district9 Sorry, was offline. You need to put the information inside the quotes (and mathrm is more appropriate than rm). I made xxxx and yyy upright. There also different options like text or mathup, it depends on what you really aim at.

            – marmot
            Jan 24 at 22:05












            2














            From the TikZ manual, Section 20.3.2 Setting and Adjusting Column and Row Spacing




            The cell separation character & also takes an optional argument, which
            must also be a spacing list. This spacing list is added to the column
            sep having a similar effect as the option for the \ command for rows.

            This optional spacing list can only be given the first time a new
            column is started (usually in the first row), subsequent usages of
            this option in later rows have no effect.




            In practice, if you put a [<width>] after &, for example &[7em], you can enlarge the space between the two columns separated by &[<width>] as you wish.



            The option column sep=<width> sets a default spacing for all columns.



            This difference could be relevant in case you have a matrix with more than two columns. If you want to enlarge only the space between the first and the second columns, but not between the second and the third, &[<width>] should be used, not column sep=<width>.



            Option swap to change the position of the label.



            documentclass[10pt]article

            usepackageamsmath,amssymb,tikz-cd

            begindocument

            beginequation*
            begintikzcd[row sep=huge]
            A arrow[r, "aaa"] arrow[d, "xxxx", swap] &[7em] B arrow[d, "yyyy"] \
            C & D arrow[l, "bbbbbbbbbbbbbbbbb"] \
            endtikzcd
            endequation*

            enddocument


            enter image description here






            share|improve this answer





























              2














              From the TikZ manual, Section 20.3.2 Setting and Adjusting Column and Row Spacing




              The cell separation character & also takes an optional argument, which
              must also be a spacing list. This spacing list is added to the column
              sep having a similar effect as the option for the \ command for rows.

              This optional spacing list can only be given the first time a new
              column is started (usually in the first row), subsequent usages of
              this option in later rows have no effect.




              In practice, if you put a [<width>] after &, for example &[7em], you can enlarge the space between the two columns separated by &[<width>] as you wish.



              The option column sep=<width> sets a default spacing for all columns.



              This difference could be relevant in case you have a matrix with more than two columns. If you want to enlarge only the space between the first and the second columns, but not between the second and the third, &[<width>] should be used, not column sep=<width>.



              Option swap to change the position of the label.



              documentclass[10pt]article

              usepackageamsmath,amssymb,tikz-cd

              begindocument

              beginequation*
              begintikzcd[row sep=huge]
              A arrow[r, "aaa"] arrow[d, "xxxx", swap] &[7em] B arrow[d, "yyyy"] \
              C & D arrow[l, "bbbbbbbbbbbbbbbbb"] \
              endtikzcd
              endequation*

              enddocument


              enter image description here






              share|improve this answer



























                2












                2








                2







                From the TikZ manual, Section 20.3.2 Setting and Adjusting Column and Row Spacing




                The cell separation character & also takes an optional argument, which
                must also be a spacing list. This spacing list is added to the column
                sep having a similar effect as the option for the \ command for rows.

                This optional spacing list can only be given the first time a new
                column is started (usually in the first row), subsequent usages of
                this option in later rows have no effect.




                In practice, if you put a [<width>] after &, for example &[7em], you can enlarge the space between the two columns separated by &[<width>] as you wish.



                The option column sep=<width> sets a default spacing for all columns.



                This difference could be relevant in case you have a matrix with more than two columns. If you want to enlarge only the space between the first and the second columns, but not between the second and the third, &[<width>] should be used, not column sep=<width>.



                Option swap to change the position of the label.



                documentclass[10pt]article

                usepackageamsmath,amssymb,tikz-cd

                begindocument

                beginequation*
                begintikzcd[row sep=huge]
                A arrow[r, "aaa"] arrow[d, "xxxx", swap] &[7em] B arrow[d, "yyyy"] \
                C & D arrow[l, "bbbbbbbbbbbbbbbbb"] \
                endtikzcd
                endequation*

                enddocument


                enter image description here






                share|improve this answer















                From the TikZ manual, Section 20.3.2 Setting and Adjusting Column and Row Spacing




                The cell separation character & also takes an optional argument, which
                must also be a spacing list. This spacing list is added to the column
                sep having a similar effect as the option for the \ command for rows.

                This optional spacing list can only be given the first time a new
                column is started (usually in the first row), subsequent usages of
                this option in later rows have no effect.




                In practice, if you put a [<width>] after &, for example &[7em], you can enlarge the space between the two columns separated by &[<width>] as you wish.



                The option column sep=<width> sets a default spacing for all columns.



                This difference could be relevant in case you have a matrix with more than two columns. If you want to enlarge only the space between the first and the second columns, but not between the second and the third, &[<width>] should be used, not column sep=<width>.



                Option swap to change the position of the label.



                documentclass[10pt]article

                usepackageamsmath,amssymb,tikz-cd

                begindocument

                beginequation*
                begintikzcd[row sep=huge]
                A arrow[r, "aaa"] arrow[d, "xxxx", swap] &[7em] B arrow[d, "yyyy"] \
                C & D arrow[l, "bbbbbbbbbbbbbbbbb"] \
                endtikzcd
                endequation*

                enddocument


                enter image description here







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jan 25 at 6:26

























                answered Jan 24 at 19:55









                CarLaTeXCarLaTeX

                31.4k450132




                31.4k450132



























                    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%2f471711%2farrow-length-and-text-placing-to-left-in-tikzcd%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

                    How to check contact read email or not when send email to Individual?

                    Displaying single band from multi-band raster using QGIS

                    How many registers does an x86_64 CPU actually have?