I'm using \underbrace{}_\text{}
to explain the meaning of a variable:
As you can see in the image, underbrace pushes the equations aside to make space for the text. I would like to get something like this instead:
Question: Is it possible to remove this pushing behavior to get the desired result?
Thanks for helping! 😀
Best Answer
Yes, there is a way: you can use
\makebox[0pt]
and the relevant text size (\footnotesize
orscriptsize
), or\clap
, defined inmathtools
. Using some code inmathtools
, we can define an\EV
and a\given
commands for the expected value of a random variable, which has variable-sized delimiters: