Vertical Space between formula and brackets

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











up vote
3
down vote

favorite












I have the following; however I want to add more space between the formula and the underbrackets so that it doesn't look so squished. How can I do that?



documentclass[a4paper]article 
usepackagemathtools
begindocument
beginequationlabeleq:reprojection_error_final
f=min_hatP^i, hatX_j
sum_ij Bigl[underbracket[1.5pt][8pt]d(hatP^i hatX_j, x^i_j)_textProjektionsdiff. + underbracket[1.5pt][8pt]d(L_k^m - L_k+1^m ,hatX_k^m - hatX_k+1^m)_text3D-Punkt-Differenz + underbracket[1.5pt][8pt]d(hatX_0, 0)_textUrsprungsdiff.Bigr]^2
endequation
enddocument


Current result:
enter image description here










share|improve this question









New contributor




John is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 1




    Can you provide a Minimal Working Example? What are the packages that you use?
    – Sina Ahmadi
    3 hours ago










  • @SinaAhmadi I edited the question; I'm using the mathtools package.
    – John
    3 hours ago










  • MathToolspackage documentation does not mention anything regarding that distance. This is the only thing provided: underbracket[〈rule thickness〉] [〈bracket height〉]〈arg〉and overbracket[〈rule thickness〉] [〈bracket height〉]〈arg〉.
    – Sina Ahmadi
    3 hours ago










  • Yes I know; but I thought somebody here might know a trick to get the spacing anyway
    – John
    3 hours ago











  • I can suggest using Tikz to manually add the brackets wherever you would like. It'll be a little bit messy but will do what you're looking for.
    – Sina Ahmadi
    2 hours ago














up vote
3
down vote

favorite












I have the following; however I want to add more space between the formula and the underbrackets so that it doesn't look so squished. How can I do that?



documentclass[a4paper]article 
usepackagemathtools
begindocument
beginequationlabeleq:reprojection_error_final
f=min_hatP^i, hatX_j
sum_ij Bigl[underbracket[1.5pt][8pt]d(hatP^i hatX_j, x^i_j)_textProjektionsdiff. + underbracket[1.5pt][8pt]d(L_k^m - L_k+1^m ,hatX_k^m - hatX_k+1^m)_text3D-Punkt-Differenz + underbracket[1.5pt][8pt]d(hatX_0, 0)_textUrsprungsdiff.Bigr]^2
endequation
enddocument


Current result:
enter image description here










share|improve this question









New contributor




John is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 1




    Can you provide a Minimal Working Example? What are the packages that you use?
    – Sina Ahmadi
    3 hours ago










  • @SinaAhmadi I edited the question; I'm using the mathtools package.
    – John
    3 hours ago










  • MathToolspackage documentation does not mention anything regarding that distance. This is the only thing provided: underbracket[〈rule thickness〉] [〈bracket height〉]〈arg〉and overbracket[〈rule thickness〉] [〈bracket height〉]〈arg〉.
    – Sina Ahmadi
    3 hours ago










  • Yes I know; but I thought somebody here might know a trick to get the spacing anyway
    – John
    3 hours ago











  • I can suggest using Tikz to manually add the brackets wherever you would like. It'll be a little bit messy but will do what you're looking for.
    – Sina Ahmadi
    2 hours ago












up vote
3
down vote

favorite









up vote
3
down vote

favorite











I have the following; however I want to add more space between the formula and the underbrackets so that it doesn't look so squished. How can I do that?



documentclass[a4paper]article 
usepackagemathtools
begindocument
beginequationlabeleq:reprojection_error_final
f=min_hatP^i, hatX_j
sum_ij Bigl[underbracket[1.5pt][8pt]d(hatP^i hatX_j, x^i_j)_textProjektionsdiff. + underbracket[1.5pt][8pt]d(L_k^m - L_k+1^m ,hatX_k^m - hatX_k+1^m)_text3D-Punkt-Differenz + underbracket[1.5pt][8pt]d(hatX_0, 0)_textUrsprungsdiff.Bigr]^2
endequation
enddocument


Current result:
enter image description here










share|improve this question









New contributor




John is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I have the following; however I want to add more space between the formula and the underbrackets so that it doesn't look so squished. How can I do that?



documentclass[a4paper]article 
usepackagemathtools
begindocument
beginequationlabeleq:reprojection_error_final
f=min_hatP^i, hatX_j
sum_ij Bigl[underbracket[1.5pt][8pt]d(hatP^i hatX_j, x^i_j)_textProjektionsdiff. + underbracket[1.5pt][8pt]d(L_k^m - L_k+1^m ,hatX_k^m - hatX_k+1^m)_text3D-Punkt-Differenz + underbracket[1.5pt][8pt]d(hatX_0, 0)_textUrsprungsdiff.Bigr]^2
endequation
enddocument


Current result:
enter image description here







math-mode underbrace






share|improve this question









New contributor




John is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




John is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 3 hours ago





















New contributor




John is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 3 hours ago









John

183




183




New contributor




John is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





John is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






John is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







  • 1




    Can you provide a Minimal Working Example? What are the packages that you use?
    – Sina Ahmadi
    3 hours ago










  • @SinaAhmadi I edited the question; I'm using the mathtools package.
    – John
    3 hours ago










  • MathToolspackage documentation does not mention anything regarding that distance. This is the only thing provided: underbracket[〈rule thickness〉] [〈bracket height〉]〈arg〉and overbracket[〈rule thickness〉] [〈bracket height〉]〈arg〉.
    – Sina Ahmadi
    3 hours ago










  • Yes I know; but I thought somebody here might know a trick to get the spacing anyway
    – John
    3 hours ago











  • I can suggest using Tikz to manually add the brackets wherever you would like. It'll be a little bit messy but will do what you're looking for.
    – Sina Ahmadi
    2 hours ago












  • 1




    Can you provide a Minimal Working Example? What are the packages that you use?
    – Sina Ahmadi
    3 hours ago










  • @SinaAhmadi I edited the question; I'm using the mathtools package.
    – John
    3 hours ago










  • MathToolspackage documentation does not mention anything regarding that distance. This is the only thing provided: underbracket[〈rule thickness〉] [〈bracket height〉]〈arg〉and overbracket[〈rule thickness〉] [〈bracket height〉]〈arg〉.
    – Sina Ahmadi
    3 hours ago










  • Yes I know; but I thought somebody here might know a trick to get the spacing anyway
    – John
    3 hours ago











  • I can suggest using Tikz to manually add the brackets wherever you would like. It'll be a little bit messy but will do what you're looking for.
    – Sina Ahmadi
    2 hours ago







1




1




Can you provide a Minimal Working Example? What are the packages that you use?
– Sina Ahmadi
3 hours ago




Can you provide a Minimal Working Example? What are the packages that you use?
– Sina Ahmadi
3 hours ago












@SinaAhmadi I edited the question; I'm using the mathtools package.
– John
3 hours ago




@SinaAhmadi I edited the question; I'm using the mathtools package.
– John
3 hours ago












MathToolspackage documentation does not mention anything regarding that distance. This is the only thing provided: underbracket[〈rule thickness〉] [〈bracket height〉]〈arg〉and overbracket[〈rule thickness〉] [〈bracket height〉]〈arg〉.
– Sina Ahmadi
3 hours ago




MathToolspackage documentation does not mention anything regarding that distance. This is the only thing provided: underbracket[〈rule thickness〉] [〈bracket height〉]〈arg〉and overbracket[〈rule thickness〉] [〈bracket height〉]〈arg〉.
– Sina Ahmadi
3 hours ago












Yes I know; but I thought somebody here might know a trick to get the spacing anyway
– John
3 hours ago





Yes I know; but I thought somebody here might know a trick to get the spacing anyway
– John
3 hours ago













I can suggest using Tikz to manually add the brackets wherever you would like. It'll be a little bit messy but will do what you're looking for.
– Sina Ahmadi
2 hours ago




I can suggest using Tikz to manually add the brackets wherever you would like. It'll be a little bit messy but will do what you're looking for.
– Sina Ahmadi
2 hours ago










2 Answers
2






active

oldest

votes

















up vote
4
down vote



accepted










You can use the bigstrut package: bigstrut[b] adds avertical distance below the insertion point, and this distance is controlled by the value of bigstrutjot:



documentclass[a4paper]article
usepackagemathtools
usepackagebigstrut

begindocument

beginequationlabeleq:reprojection_error_final
f=min_hatP^i, hatX_j
sum_ij Bigl[underbracket[1.5pt][8pt]bigstrut[b]d(hatP^i hatX_j, x^i_j)_textProjektionsdiff. + underbracket[1.5pt][8pt]bigstrut[b]d(L_k^m - L_k+1^m ,hatX_k^m - hatX_k+1^m)_text3D-Punkt-Differenz + underbracket[1.5pt][8pt]bigstrut[b]d(hatX_0, 0)_textclapUrsprungsdiff.Bigr]^2
endequation

beginequationlabeleq:reprojection_error_final
setlengthbigstrutjot1.5ex
f=min_hatP^i, hatX_j
sum_ij Bigl[underbracket[1.5pt][8pt]bigstrut[b]d(hatP^i hatX_j, x^i_j)_textProjektionsdiff. + underbracket[1.5pt][8pt]bigstrut[b]d(L_k^m - L_k+1^m ,hatX_k^m - hatX_k+1^m)_text3D-Punkt-Differenz + underbracket[1.5pt][8pt]bigstrut[b]d(hatX_0, 0)_textclapUrsprungsdiff.Bigr]^2
endequation

enddocument


enter image description here






share|improve this answer





























    up vote
    3
    down vote













    Also check out vphantom



    documentclass[a4paper]article 
    usepackagemathtools
    begindocument
    beginequationlabeleq:reprojection_error_final
    f=min_hatP^i, hatX_j
    sum_ij Bigl[underbracket[1.5pt][8pt]d_strut(hatP^i hatX_j, x^i_j)_textProjektionsdiff. + underbracket[1.5pt][8pt]d_strut(L_k^m - L_k+1^m ,hatX_k^m - hatX_k+1^m)_text3D-Punkt-Differenz + underbracket[1.5pt][8pt]d_strut(hatX_0, 0)_textUrsprungsdiff.Bigr]^2
    endequation
    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',
      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
      );



      );






      John is a new contributor. Be nice, and check out our Code of Conduct.









       

      draft saved


      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f459143%2fvertical-space-between-formula-and-brackets%23new-answer', 'question_page');

      );

      Post as a guest






























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      4
      down vote



      accepted










      You can use the bigstrut package: bigstrut[b] adds avertical distance below the insertion point, and this distance is controlled by the value of bigstrutjot:



      documentclass[a4paper]article
      usepackagemathtools
      usepackagebigstrut

      begindocument

      beginequationlabeleq:reprojection_error_final
      f=min_hatP^i, hatX_j
      sum_ij Bigl[underbracket[1.5pt][8pt]bigstrut[b]d(hatP^i hatX_j, x^i_j)_textProjektionsdiff. + underbracket[1.5pt][8pt]bigstrut[b]d(L_k^m - L_k+1^m ,hatX_k^m - hatX_k+1^m)_text3D-Punkt-Differenz + underbracket[1.5pt][8pt]bigstrut[b]d(hatX_0, 0)_textclapUrsprungsdiff.Bigr]^2
      endequation

      beginequationlabeleq:reprojection_error_final
      setlengthbigstrutjot1.5ex
      f=min_hatP^i, hatX_j
      sum_ij Bigl[underbracket[1.5pt][8pt]bigstrut[b]d(hatP^i hatX_j, x^i_j)_textProjektionsdiff. + underbracket[1.5pt][8pt]bigstrut[b]d(L_k^m - L_k+1^m ,hatX_k^m - hatX_k+1^m)_text3D-Punkt-Differenz + underbracket[1.5pt][8pt]bigstrut[b]d(hatX_0, 0)_textclapUrsprungsdiff.Bigr]^2
      endequation

      enddocument


      enter image description here






      share|improve this answer


























        up vote
        4
        down vote



        accepted










        You can use the bigstrut package: bigstrut[b] adds avertical distance below the insertion point, and this distance is controlled by the value of bigstrutjot:



        documentclass[a4paper]article
        usepackagemathtools
        usepackagebigstrut

        begindocument

        beginequationlabeleq:reprojection_error_final
        f=min_hatP^i, hatX_j
        sum_ij Bigl[underbracket[1.5pt][8pt]bigstrut[b]d(hatP^i hatX_j, x^i_j)_textProjektionsdiff. + underbracket[1.5pt][8pt]bigstrut[b]d(L_k^m - L_k+1^m ,hatX_k^m - hatX_k+1^m)_text3D-Punkt-Differenz + underbracket[1.5pt][8pt]bigstrut[b]d(hatX_0, 0)_textclapUrsprungsdiff.Bigr]^2
        endequation

        beginequationlabeleq:reprojection_error_final
        setlengthbigstrutjot1.5ex
        f=min_hatP^i, hatX_j
        sum_ij Bigl[underbracket[1.5pt][8pt]bigstrut[b]d(hatP^i hatX_j, x^i_j)_textProjektionsdiff. + underbracket[1.5pt][8pt]bigstrut[b]d(L_k^m - L_k+1^m ,hatX_k^m - hatX_k+1^m)_text3D-Punkt-Differenz + underbracket[1.5pt][8pt]bigstrut[b]d(hatX_0, 0)_textclapUrsprungsdiff.Bigr]^2
        endequation

        enddocument


        enter image description here






        share|improve this answer
























          up vote
          4
          down vote



          accepted







          up vote
          4
          down vote



          accepted






          You can use the bigstrut package: bigstrut[b] adds avertical distance below the insertion point, and this distance is controlled by the value of bigstrutjot:



          documentclass[a4paper]article
          usepackagemathtools
          usepackagebigstrut

          begindocument

          beginequationlabeleq:reprojection_error_final
          f=min_hatP^i, hatX_j
          sum_ij Bigl[underbracket[1.5pt][8pt]bigstrut[b]d(hatP^i hatX_j, x^i_j)_textProjektionsdiff. + underbracket[1.5pt][8pt]bigstrut[b]d(L_k^m - L_k+1^m ,hatX_k^m - hatX_k+1^m)_text3D-Punkt-Differenz + underbracket[1.5pt][8pt]bigstrut[b]d(hatX_0, 0)_textclapUrsprungsdiff.Bigr]^2
          endequation

          beginequationlabeleq:reprojection_error_final
          setlengthbigstrutjot1.5ex
          f=min_hatP^i, hatX_j
          sum_ij Bigl[underbracket[1.5pt][8pt]bigstrut[b]d(hatP^i hatX_j, x^i_j)_textProjektionsdiff. + underbracket[1.5pt][8pt]bigstrut[b]d(L_k^m - L_k+1^m ,hatX_k^m - hatX_k+1^m)_text3D-Punkt-Differenz + underbracket[1.5pt][8pt]bigstrut[b]d(hatX_0, 0)_textclapUrsprungsdiff.Bigr]^2
          endequation

          enddocument


          enter image description here






          share|improve this answer














          You can use the bigstrut package: bigstrut[b] adds avertical distance below the insertion point, and this distance is controlled by the value of bigstrutjot:



          documentclass[a4paper]article
          usepackagemathtools
          usepackagebigstrut

          begindocument

          beginequationlabeleq:reprojection_error_final
          f=min_hatP^i, hatX_j
          sum_ij Bigl[underbracket[1.5pt][8pt]bigstrut[b]d(hatP^i hatX_j, x^i_j)_textProjektionsdiff. + underbracket[1.5pt][8pt]bigstrut[b]d(L_k^m - L_k+1^m ,hatX_k^m - hatX_k+1^m)_text3D-Punkt-Differenz + underbracket[1.5pt][8pt]bigstrut[b]d(hatX_0, 0)_textclapUrsprungsdiff.Bigr]^2
          endequation

          beginequationlabeleq:reprojection_error_final
          setlengthbigstrutjot1.5ex
          f=min_hatP^i, hatX_j
          sum_ij Bigl[underbracket[1.5pt][8pt]bigstrut[b]d(hatP^i hatX_j, x^i_j)_textProjektionsdiff. + underbracket[1.5pt][8pt]bigstrut[b]d(L_k^m - L_k+1^m ,hatX_k^m - hatX_k+1^m)_text3D-Punkt-Differenz + underbracket[1.5pt][8pt]bigstrut[b]d(hatX_0, 0)_textclapUrsprungsdiff.Bigr]^2
          endequation

          enddocument


          enter image description here







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 33 mins ago

























          answered 2 hours ago









          Bernard

          161k767192




          161k767192




















              up vote
              3
              down vote













              Also check out vphantom



              documentclass[a4paper]article 
              usepackagemathtools
              begindocument
              beginequationlabeleq:reprojection_error_final
              f=min_hatP^i, hatX_j
              sum_ij Bigl[underbracket[1.5pt][8pt]d_strut(hatP^i hatX_j, x^i_j)_textProjektionsdiff. + underbracket[1.5pt][8pt]d_strut(L_k^m - L_k+1^m ,hatX_k^m - hatX_k+1^m)_text3D-Punkt-Differenz + underbracket[1.5pt][8pt]d_strut(hatX_0, 0)_textUrsprungsdiff.Bigr]^2
              endequation
              enddocument





              share|improve this answer
























                up vote
                3
                down vote













                Also check out vphantom



                documentclass[a4paper]article 
                usepackagemathtools
                begindocument
                beginequationlabeleq:reprojection_error_final
                f=min_hatP^i, hatX_j
                sum_ij Bigl[underbracket[1.5pt][8pt]d_strut(hatP^i hatX_j, x^i_j)_textProjektionsdiff. + underbracket[1.5pt][8pt]d_strut(L_k^m - L_k+1^m ,hatX_k^m - hatX_k+1^m)_text3D-Punkt-Differenz + underbracket[1.5pt][8pt]d_strut(hatX_0, 0)_textUrsprungsdiff.Bigr]^2
                endequation
                enddocument





                share|improve this answer






















                  up vote
                  3
                  down vote










                  up vote
                  3
                  down vote









                  Also check out vphantom



                  documentclass[a4paper]article 
                  usepackagemathtools
                  begindocument
                  beginequationlabeleq:reprojection_error_final
                  f=min_hatP^i, hatX_j
                  sum_ij Bigl[underbracket[1.5pt][8pt]d_strut(hatP^i hatX_j, x^i_j)_textProjektionsdiff. + underbracket[1.5pt][8pt]d_strut(L_k^m - L_k+1^m ,hatX_k^m - hatX_k+1^m)_text3D-Punkt-Differenz + underbracket[1.5pt][8pt]d_strut(hatX_0, 0)_textUrsprungsdiff.Bigr]^2
                  endequation
                  enddocument





                  share|improve this answer












                  Also check out vphantom



                  documentclass[a4paper]article 
                  usepackagemathtools
                  begindocument
                  beginequationlabeleq:reprojection_error_final
                  f=min_hatP^i, hatX_j
                  sum_ij Bigl[underbracket[1.5pt][8pt]d_strut(hatP^i hatX_j, x^i_j)_textProjektionsdiff. + underbracket[1.5pt][8pt]d_strut(L_k^m - L_k+1^m ,hatX_k^m - hatX_k+1^m)_text3D-Punkt-Differenz + underbracket[1.5pt][8pt]d_strut(hatX_0, 0)_textUrsprungsdiff.Bigr]^2
                  endequation
                  enddocument






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 3 hours ago









                  JPi

                  9,24421347




                  9,24421347




















                      John is a new contributor. Be nice, and check out our Code of Conduct.









                       

                      draft saved


                      draft discarded


















                      John is a new contributor. Be nice, and check out our Code of Conduct.












                      John is a new contributor. Be nice, and check out our Code of Conduct.











                      John is a new contributor. Be nice, and check out our Code of Conduct.













                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f459143%2fvertical-space-between-formula-and-brackets%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      Comments

                      Popular posts from this blog

                      List of Gilmore Girls characters

                      What does second last employer means? [closed]

                      One-line joke