Vertical Space between formula and brackets









up vote
4
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
    Nov 9 at 13:54










  • @SinaAhmadi I edited the question; I'm using the mathtools package.
    – John
    Nov 9 at 14:10










  • 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
    Nov 9 at 14:12










  • Yes I know; but I thought somebody here might know a trick to get the spacing anyway
    – John
    Nov 9 at 14:19











  • 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
    Nov 9 at 14:24














up vote
4
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
    Nov 9 at 13:54










  • @SinaAhmadi I edited the question; I'm using the mathtools package.
    – John
    Nov 9 at 14:10










  • 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
    Nov 9 at 14:12










  • Yes I know; but I thought somebody here might know a trick to get the spacing anyway
    – John
    Nov 9 at 14:19











  • 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
    Nov 9 at 14:24












up vote
4
down vote

favorite









up vote
4
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 Nov 9 at 14:10





















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 Nov 9 at 13:48









John

233




233




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
    Nov 9 at 13:54










  • @SinaAhmadi I edited the question; I'm using the mathtools package.
    – John
    Nov 9 at 14:10










  • 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
    Nov 9 at 14:12










  • Yes I know; but I thought somebody here might know a trick to get the spacing anyway
    – John
    Nov 9 at 14:19











  • 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
    Nov 9 at 14:24












  • 1




    Can you provide a Minimal Working Example? What are the packages that you use?
    – Sina Ahmadi
    Nov 9 at 13:54










  • @SinaAhmadi I edited the question; I'm using the mathtools package.
    – John
    Nov 9 at 14:10










  • 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
    Nov 9 at 14:12










  • Yes I know; but I thought somebody here might know a trick to get the spacing anyway
    – John
    Nov 9 at 14:19











  • 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
    Nov 9 at 14:24







1




1




Can you provide a Minimal Working Example? What are the packages that you use?
– Sina Ahmadi
Nov 9 at 13:54




Can you provide a Minimal Working Example? What are the packages that you use?
– Sina Ahmadi
Nov 9 at 13:54












@SinaAhmadi I edited the question; I'm using the mathtools package.
– John
Nov 9 at 14:10




@SinaAhmadi I edited the question; I'm using the mathtools package.
– John
Nov 9 at 14:10












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
Nov 9 at 14:12




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
Nov 9 at 14:12












Yes I know; but I thought somebody here might know a trick to get the spacing anyway
– John
Nov 9 at 14:19





Yes I know; but I thought somebody here might know a trick to get the spacing anyway
– John
Nov 9 at 14:19













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
Nov 9 at 14:24




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
Nov 9 at 14:24










2 Answers
2






active

oldest

votes

















up vote
5
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













    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




















    • Thanks @samcarter!
      – JPi
      Nov 13 at 0:08










    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















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    5
    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
      5
      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
        5
        down vote



        accepted







        up vote
        5
        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 Nov 9 at 16:47

























        answered Nov 9 at 15:08









        Bernard

        161k767192




        161k767192




















            up vote
            4
            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




















            • Thanks @samcarter!
              – JPi
              Nov 13 at 0:08














            up vote
            4
            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




















            • Thanks @samcarter!
              – JPi
              Nov 13 at 0:08












            up vote
            4
            down vote










            up vote
            4
            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 Nov 9 at 14:20









            JPi

            9,27421347




            9,27421347











            • Thanks @samcarter!
              – JPi
              Nov 13 at 0:08
















            • Thanks @samcarter!
              – JPi
              Nov 13 at 0:08















            Thanks @samcarter!
            – JPi
            Nov 13 at 0:08




            Thanks @samcarter!
            – JPi
            Nov 13 at 0:08










            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















            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