3

Whenever you use underbrace in maths mode

\underbrace{x}_{=y}

y is in a smaller size than x.

But if I use an entire aligned equation

\underbrace{x}_{
   \begin{aligned}[t]
      &=y_1 \\
      &=y_2
   \end{aligned}
}

the aligned content is in normal size. This looks way too big. Is there a way to reduce the size again? \scriptstyle has no effect. \scriptsize does what I want, but it throws a warning that it is not supposed to be used in maths mode.

1 Answer 1

5

You probably mean

\underbrace{x}_{y}

You can get what you want with subarray.

\documentclass{article}
\usepackage{amsmath}

\begin{document}

\[
\underbrace{x}_{\begin{subarray}{l} =y_1 \\ =y_2 \end{subarray}}
\]

\end{document}

enter image description here

2
  • can I use alignment & in subarrays? Commented Dec 16, 2022 at 17:12
  • 1
    @FelixB. No. But I can only answer what you ask for.
    – egreg
    Commented Dec 16, 2022 at 17:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .