Spacing of Formula Gets Weird with an Underbrace on One of the TermsChanging the spacing inside equation with...

When obtaining gender reassignment/plastic surgery overseas, is an emergency travel document required to return home?

Does an Eldritch Knight's Weapon Bond protect him from losing his weapon to a Telekinesis spell?

Categorical Unification of Jordan Holder Theorems

How to not let the Identify spell spoil everything?

Will rerolling initiative each round stop meta-gaming about initiative?

Why didn't the 2019 Oscars have a host?

Why did Luke use his left hand to shoot?

Closed set in topological space generated by sets of the form [a, b).

Count repetitions of an array

Why do neural networks need so many training examples to perform?

Why did KiCad merge my pins into one open blob in the solder mask gerber?

What's this assembly doing?

Could a warlock use the One with Shadows warlock invocation to turn invisible, and then move while staying invisible?

Is there a file that always exists and a 'normal' user can't lstat it?

How do you funnel food off a cutting board?

A fantasy book with seven white haired women on the cover

Does Skippy chunky peanut butter contain trans fat?

How do I prevent a homebrew Grappling Hook feature from trivializing Tomb of Annihilation?

Possible issue with my W4 and tax return

Not a Long-Winded Riddle

What does MTU depend on?

What is a good reason for every spaceship to carry a weapon on board?

How vim overwrites readonly mode?

What to do with threats of blacklisting?



Spacing of Formula Gets Weird with an Underbrace on One of the Terms


Changing the spacing inside equation with underbraceWeird spacing with mdframedExample in which `$$…$$` gets wrong spacingunderbrace spacingBibTex: URL:s gets weird whitespaceHow to insert spacing in formula?Underbrace messing with horizontal spacingWeird spacing in the documentLabelling terms in an equation without using underbraceAligning underbrace for long and short terms













0















So, I just needed an underbrace in a formula in a Beamer presentation and ended up with some weird spacing between the two plus signs. Any clues how to fix? I looked online already for solutions but haven't found one.



Here's the code:



begin{block}{Second stage:}
centering $Y_i = beta_0 + beta_1 widehat{D_i}+ underbrace{delta(score_i)}_text{parbox{4cm}{centering Continuous\[-4pt] function}}+epsilon_i$
end{block}


And here's how it looks.enter image description here










share|improve this question









New contributor




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
















  • 1





    With parbox{4cm} you are requesting 4cm of horizontal space and that is what you get.

    – Henri Menke
    27 mins ago
















0















So, I just needed an underbrace in a formula in a Beamer presentation and ended up with some weird spacing between the two plus signs. Any clues how to fix? I looked online already for solutions but haven't found one.



Here's the code:



begin{block}{Second stage:}
centering $Y_i = beta_0 + beta_1 widehat{D_i}+ underbrace{delta(score_i)}_text{parbox{4cm}{centering Continuous\[-4pt] function}}+epsilon_i$
end{block}


And here's how it looks.enter image description here










share|improve this question









New contributor




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
















  • 1





    With parbox{4cm} you are requesting 4cm of horizontal space and that is what you get.

    – Henri Menke
    27 mins ago














0












0








0








So, I just needed an underbrace in a formula in a Beamer presentation and ended up with some weird spacing between the two plus signs. Any clues how to fix? I looked online already for solutions but haven't found one.



Here's the code:



begin{block}{Second stage:}
centering $Y_i = beta_0 + beta_1 widehat{D_i}+ underbrace{delta(score_i)}_text{parbox{4cm}{centering Continuous\[-4pt] function}}+epsilon_i$
end{block}


And here's how it looks.enter image description here










share|improve this question









New contributor




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












So, I just needed an underbrace in a formula in a Beamer presentation and ended up with some weird spacing between the two plus signs. Any clues how to fix? I looked online already for solutions but haven't found one.



Here's the code:



begin{block}{Second stage:}
centering $Y_i = beta_0 + beta_1 widehat{D_i}+ underbrace{delta(score_i)}_text{parbox{4cm}{centering Continuous\[-4pt] function}}+epsilon_i$
end{block}


And here's how it looks.enter image description here







beamer spacing equations underbrace






share|improve this question









New contributor




Gregg Gonsalves 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




Gregg Gonsalves 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 27 mins ago









Henri Menke

75.6k8165277




75.6k8165277






New contributor




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









asked 31 mins ago









Gregg GonsalvesGregg Gonsalves

1




1




New contributor




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





New contributor





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






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








  • 1





    With parbox{4cm} you are requesting 4cm of horizontal space and that is what you get.

    – Henri Menke
    27 mins ago














  • 1





    With parbox{4cm} you are requesting 4cm of horizontal space and that is what you get.

    – Henri Menke
    27 mins ago








1




1





With parbox{4cm} you are requesting 4cm of horizontal space and that is what you get.

– Henri Menke
27 mins ago





With parbox{4cm} you are requesting 4cm of horizontal space and that is what you get.

– Henri Menke
27 mins ago










1 Answer
1






active

oldest

votes


















1














You could use substack.



documentclass{beamer}
usepackage{amsmath}
begin{document}

begin{frame}
begin{block}{Second stage:}
begin{equation*}
Y_i = beta_0 + beta_1 hat{D}_i + underbrace{delta(text{score}_i)}_{substack{text{Continuous} \ text{function}}} + epsilon_i
end{equation*}
end{block}
end{frame}

end{document}


enter image description here






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "85"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });






    Gregg Gonsalves 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%2f476673%2fspacing-of-formula-gets-weird-with-an-underbrace-on-one-of-the-terms%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    You could use substack.



    documentclass{beamer}
    usepackage{amsmath}
    begin{document}

    begin{frame}
    begin{block}{Second stage:}
    begin{equation*}
    Y_i = beta_0 + beta_1 hat{D}_i + underbrace{delta(text{score}_i)}_{substack{text{Continuous} \ text{function}}} + epsilon_i
    end{equation*}
    end{block}
    end{frame}

    end{document}


    enter image description here






    share|improve this answer




























      1














      You could use substack.



      documentclass{beamer}
      usepackage{amsmath}
      begin{document}

      begin{frame}
      begin{block}{Second stage:}
      begin{equation*}
      Y_i = beta_0 + beta_1 hat{D}_i + underbrace{delta(text{score}_i)}_{substack{text{Continuous} \ text{function}}} + epsilon_i
      end{equation*}
      end{block}
      end{frame}

      end{document}


      enter image description here






      share|improve this answer


























        1












        1








        1







        You could use substack.



        documentclass{beamer}
        usepackage{amsmath}
        begin{document}

        begin{frame}
        begin{block}{Second stage:}
        begin{equation*}
        Y_i = beta_0 + beta_1 hat{D}_i + underbrace{delta(text{score}_i)}_{substack{text{Continuous} \ text{function}}} + epsilon_i
        end{equation*}
        end{block}
        end{frame}

        end{document}


        enter image description here






        share|improve this answer













        You could use substack.



        documentclass{beamer}
        usepackage{amsmath}
        begin{document}

        begin{frame}
        begin{block}{Second stage:}
        begin{equation*}
        Y_i = beta_0 + beta_1 hat{D}_i + underbrace{delta(text{score}_i)}_{substack{text{Continuous} \ text{function}}} + epsilon_i
        end{equation*}
        end{block}
        end{frame}

        end{document}


        enter image description here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 24 mins ago









        Henri MenkeHenri Menke

        75.6k8165277




        75.6k8165277






















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










            draft saved

            draft discarded


















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













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












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
















            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%2f476673%2fspacing-of-formula-gets-weird-with-an-underbrace-on-one-of-the-terms%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

            IEEEtran - How to include ORCID in TeX/PDF with PdfLatexIs there a standard way to include ORCID in TeX /...

            Cicindela nigrior Przypisy | Menu nawigacyjneCicindela varians unicolorManual for the Identification of the...

            Glossaries-extra: Adding glossaries package to “Clas­sicTh­e­sis” template by Dr. André Miede v. 4.6 ...