Strange behavior of underset









up vote
9
down vote

favorite












Why aren't the arrows put under the equal sign if they are less than .7em or .3cm?



documentclassarticle
usepackagemathtools
usepackagetikz
usetikzlibraryarrows.meta
newcommandbigswarrow[1]tikzdraw[->](#1,3ex)--(0,0);
begindocument
foreach wid in .1,.2,...,1
bigswarrowwid em

foreach wid in .1,.2,...,1
$undersetbigswarrowwid em=$

foreach wid in .1,.2,...,1
bigswarrowwid

foreach wid in .1,.2,...,1
$undersetbigswarrowwid=$
enddocument


enter image description here










share|improve this question

























    up vote
    9
    down vote

    favorite












    Why aren't the arrows put under the equal sign if they are less than .7em or .3cm?



    documentclassarticle
    usepackagemathtools
    usepackagetikz
    usetikzlibraryarrows.meta
    newcommandbigswarrow[1]tikzdraw[->](#1,3ex)--(0,0);
    begindocument
    foreach wid in .1,.2,...,1
    bigswarrowwid em

    foreach wid in .1,.2,...,1
    $undersetbigswarrowwid em=$

    foreach wid in .1,.2,...,1
    bigswarrowwid

    foreach wid in .1,.2,...,1
    $undersetbigswarrowwid=$
    enddocument


    enter image description here










    share|improve this question























      up vote
      9
      down vote

      favorite









      up vote
      9
      down vote

      favorite











      Why aren't the arrows put under the equal sign if they are less than .7em or .3cm?



      documentclassarticle
      usepackagemathtools
      usepackagetikz
      usetikzlibraryarrows.meta
      newcommandbigswarrow[1]tikzdraw[->](#1,3ex)--(0,0);
      begindocument
      foreach wid in .1,.2,...,1
      bigswarrowwid em

      foreach wid in .1,.2,...,1
      $undersetbigswarrowwid em=$

      foreach wid in .1,.2,...,1
      bigswarrowwid

      foreach wid in .1,.2,...,1
      $undersetbigswarrowwid=$
      enddocument


      enter image description here










      share|improve this question













      Why aren't the arrows put under the equal sign if they are less than .7em or .3cm?



      documentclassarticle
      usepackagemathtools
      usepackagetikz
      usetikzlibraryarrows.meta
      newcommandbigswarrow[1]tikzdraw[->](#1,3ex)--(0,0);
      begindocument
      foreach wid in .1,.2,...,1
      bigswarrowwid em

      foreach wid in .1,.2,...,1
      $undersetbigswarrowwid em=$

      foreach wid in .1,.2,...,1
      bigswarrowwid

      foreach wid in .1,.2,...,1
      $undersetbigswarrowwid=$
      enddocument


      enter image description here







      tikz-pgf math-mode stacking-symbols






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 9 at 16:51









      CarLaTeX

      27.2k445118




      27.2k445118




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          6
          down vote



          accepted










          Adding baseline fixes it, I believe.



          documentclassarticle
          usepackagemathtools
          usepackagetikz
          usetikzlibraryarrows.meta
          newcommandbigswarrow[1]tikz[baseline]draw[->](#1,3ex)--(0,0);
          begindocument
          foreach wid in .1,.2,...,1
          bigswarrowwid em

          foreach wid in .1,.2,...,1
          $undersetbigswarrowwid em=$

          foreach wid in .1,.2,...,1
          bigswarrowwid

          foreach wid in .1,.2,...,1
          $undersetbigswarrowwid=$
          enddocument


          enter image description here






          share|improve this answer



























            up vote
            5
            down vote













            Don't know why, but here is a fix. I put the underset arrows inside of an hbox...



            documentclassarticle
            usepackagemathtools
            usepackagetikz
            usetikzlibraryarrows.meta
            newcommandbigswarrow[1]tikzdraw[->](#1,3ex)--(0,0);
            begindocument
            foreach wid in .1,.2,...,1
            bigswarrowwid em

            foreach wid in .1,.2,...,1
            $undersethboxbigswarrowwid em=$

            foreach wid in .1,.2,...,1
            bigswarrowwid

            foreach wid in .1,.2,...,1
            $undersethboxbigswarrowwid=$
            enddocument


            enter image description here



            Alternately, giving a hat tip to marmot, I could force bigswarrow onto the baseline by way of stackengine:



            usepackagestackengine
            newcommandbigswarrow[1]abovebaseline[0pt]tikzdraw[->](#1,3ex)--(0,0);


            Then, I wouldn't need the hboxes.






            share|improve this answer






















            • Though the math mode inside the hbox isn't really necessary, is't it?
              – campa
              Nov 9 at 16:58






            • 1




              @campa Thanks. Fixed.
              – Steven B. Segletes
              Nov 9 at 17:00










            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',
            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%2f459163%2fstrange-behavior-of-underset%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








            up vote
            6
            down vote



            accepted










            Adding baseline fixes it, I believe.



            documentclassarticle
            usepackagemathtools
            usepackagetikz
            usetikzlibraryarrows.meta
            newcommandbigswarrow[1]tikz[baseline]draw[->](#1,3ex)--(0,0);
            begindocument
            foreach wid in .1,.2,...,1
            bigswarrowwid em

            foreach wid in .1,.2,...,1
            $undersetbigswarrowwid em=$

            foreach wid in .1,.2,...,1
            bigswarrowwid

            foreach wid in .1,.2,...,1
            $undersetbigswarrowwid=$
            enddocument


            enter image description here






            share|improve this answer
























              up vote
              6
              down vote



              accepted










              Adding baseline fixes it, I believe.



              documentclassarticle
              usepackagemathtools
              usepackagetikz
              usetikzlibraryarrows.meta
              newcommandbigswarrow[1]tikz[baseline]draw[->](#1,3ex)--(0,0);
              begindocument
              foreach wid in .1,.2,...,1
              bigswarrowwid em

              foreach wid in .1,.2,...,1
              $undersetbigswarrowwid em=$

              foreach wid in .1,.2,...,1
              bigswarrowwid

              foreach wid in .1,.2,...,1
              $undersetbigswarrowwid=$
              enddocument


              enter image description here






              share|improve this answer






















                up vote
                6
                down vote



                accepted







                up vote
                6
                down vote



                accepted






                Adding baseline fixes it, I believe.



                documentclassarticle
                usepackagemathtools
                usepackagetikz
                usetikzlibraryarrows.meta
                newcommandbigswarrow[1]tikz[baseline]draw[->](#1,3ex)--(0,0);
                begindocument
                foreach wid in .1,.2,...,1
                bigswarrowwid em

                foreach wid in .1,.2,...,1
                $undersetbigswarrowwid em=$

                foreach wid in .1,.2,...,1
                bigswarrowwid

                foreach wid in .1,.2,...,1
                $undersetbigswarrowwid=$
                enddocument


                enter image description here






                share|improve this answer












                Adding baseline fixes it, I believe.



                documentclassarticle
                usepackagemathtools
                usepackagetikz
                usetikzlibraryarrows.meta
                newcommandbigswarrow[1]tikz[baseline]draw[->](#1,3ex)--(0,0);
                begindocument
                foreach wid in .1,.2,...,1
                bigswarrowwid em

                foreach wid in .1,.2,...,1
                $undersetbigswarrowwid em=$

                foreach wid in .1,.2,...,1
                bigswarrowwid

                foreach wid in .1,.2,...,1
                $undersetbigswarrowwid=$
                enddocument


                enter image description here







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 9 at 16:59









                marmot

                75.4k485159




                75.4k485159




















                    up vote
                    5
                    down vote













                    Don't know why, but here is a fix. I put the underset arrows inside of an hbox...



                    documentclassarticle
                    usepackagemathtools
                    usepackagetikz
                    usetikzlibraryarrows.meta
                    newcommandbigswarrow[1]tikzdraw[->](#1,3ex)--(0,0);
                    begindocument
                    foreach wid in .1,.2,...,1
                    bigswarrowwid em

                    foreach wid in .1,.2,...,1
                    $undersethboxbigswarrowwid em=$

                    foreach wid in .1,.2,...,1
                    bigswarrowwid

                    foreach wid in .1,.2,...,1
                    $undersethboxbigswarrowwid=$
                    enddocument


                    enter image description here



                    Alternately, giving a hat tip to marmot, I could force bigswarrow onto the baseline by way of stackengine:



                    usepackagestackengine
                    newcommandbigswarrow[1]abovebaseline[0pt]tikzdraw[->](#1,3ex)--(0,0);


                    Then, I wouldn't need the hboxes.






                    share|improve this answer






















                    • Though the math mode inside the hbox isn't really necessary, is't it?
                      – campa
                      Nov 9 at 16:58






                    • 1




                      @campa Thanks. Fixed.
                      – Steven B. Segletes
                      Nov 9 at 17:00














                    up vote
                    5
                    down vote













                    Don't know why, but here is a fix. I put the underset arrows inside of an hbox...



                    documentclassarticle
                    usepackagemathtools
                    usepackagetikz
                    usetikzlibraryarrows.meta
                    newcommandbigswarrow[1]tikzdraw[->](#1,3ex)--(0,0);
                    begindocument
                    foreach wid in .1,.2,...,1
                    bigswarrowwid em

                    foreach wid in .1,.2,...,1
                    $undersethboxbigswarrowwid em=$

                    foreach wid in .1,.2,...,1
                    bigswarrowwid

                    foreach wid in .1,.2,...,1
                    $undersethboxbigswarrowwid=$
                    enddocument


                    enter image description here



                    Alternately, giving a hat tip to marmot, I could force bigswarrow onto the baseline by way of stackengine:



                    usepackagestackengine
                    newcommandbigswarrow[1]abovebaseline[0pt]tikzdraw[->](#1,3ex)--(0,0);


                    Then, I wouldn't need the hboxes.






                    share|improve this answer






















                    • Though the math mode inside the hbox isn't really necessary, is't it?
                      – campa
                      Nov 9 at 16:58






                    • 1




                      @campa Thanks. Fixed.
                      – Steven B. Segletes
                      Nov 9 at 17:00












                    up vote
                    5
                    down vote










                    up vote
                    5
                    down vote









                    Don't know why, but here is a fix. I put the underset arrows inside of an hbox...



                    documentclassarticle
                    usepackagemathtools
                    usepackagetikz
                    usetikzlibraryarrows.meta
                    newcommandbigswarrow[1]tikzdraw[->](#1,3ex)--(0,0);
                    begindocument
                    foreach wid in .1,.2,...,1
                    bigswarrowwid em

                    foreach wid in .1,.2,...,1
                    $undersethboxbigswarrowwid em=$

                    foreach wid in .1,.2,...,1
                    bigswarrowwid

                    foreach wid in .1,.2,...,1
                    $undersethboxbigswarrowwid=$
                    enddocument


                    enter image description here



                    Alternately, giving a hat tip to marmot, I could force bigswarrow onto the baseline by way of stackengine:



                    usepackagestackengine
                    newcommandbigswarrow[1]abovebaseline[0pt]tikzdraw[->](#1,3ex)--(0,0);


                    Then, I wouldn't need the hboxes.






                    share|improve this answer














                    Don't know why, but here is a fix. I put the underset arrows inside of an hbox...



                    documentclassarticle
                    usepackagemathtools
                    usepackagetikz
                    usetikzlibraryarrows.meta
                    newcommandbigswarrow[1]tikzdraw[->](#1,3ex)--(0,0);
                    begindocument
                    foreach wid in .1,.2,...,1
                    bigswarrowwid em

                    foreach wid in .1,.2,...,1
                    $undersethboxbigswarrowwid em=$

                    foreach wid in .1,.2,...,1
                    bigswarrowwid

                    foreach wid in .1,.2,...,1
                    $undersethboxbigswarrowwid=$
                    enddocument


                    enter image description here



                    Alternately, giving a hat tip to marmot, I could force bigswarrow onto the baseline by way of stackengine:



                    usepackagestackengine
                    newcommandbigswarrow[1]abovebaseline[0pt]tikzdraw[->](#1,3ex)--(0,0);


                    Then, I wouldn't need the hboxes.







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Nov 9 at 17:06

























                    answered Nov 9 at 16:55









                    Steven B. Segletes

                    151k9189397




                    151k9189397











                    • Though the math mode inside the hbox isn't really necessary, is't it?
                      – campa
                      Nov 9 at 16:58






                    • 1




                      @campa Thanks. Fixed.
                      – Steven B. Segletes
                      Nov 9 at 17:00
















                    • Though the math mode inside the hbox isn't really necessary, is't it?
                      – campa
                      Nov 9 at 16:58






                    • 1




                      @campa Thanks. Fixed.
                      – Steven B. Segletes
                      Nov 9 at 17:00















                    Though the math mode inside the hbox isn't really necessary, is't it?
                    – campa
                    Nov 9 at 16:58




                    Though the math mode inside the hbox isn't really necessary, is't it?
                    – campa
                    Nov 9 at 16:58




                    1




                    1




                    @campa Thanks. Fixed.
                    – Steven B. Segletes
                    Nov 9 at 17:00




                    @campa Thanks. Fixed.
                    – Steven B. Segletes
                    Nov 9 at 17:00

















                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f459163%2fstrange-behavior-of-underset%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 how show current date and time by default on contact form 7 in WordPress without taking input from user in datetimepicker

                    Syphilis

                    Darth Vader #20