How can I have something like the following in LaTeX?


\underbrace{equation1 \\ (line break) equation 2}_{text}


The problem is the line break.

I don't seem to find any solution online.

  • You shouldn't leave blank lines in \begin{align}...\end{align}, but this is not the issue.
    – Skillmon
    Mar 23 '17 at 9:25
  • You can use \parbox inside the \underbrace. Inside the parbox you can use \\ .
    – Skillmon
    Mar 23 '17 at 9:27
  • @Skillmon since the material is probably math, might be better to use the aligned env inside the \underbrace instead of \parbox
    – daleif
    Mar 23 '17 at 9:29
  • @daleif yeah, you're right. Didn't consider that.
    – Skillmon
    Mar 23 '17 at 9:30

As daleif and I said, you should use an environment allowing linebreaks inside the \underbrace. If it's just going to be text \parbox or similar commands are fine. If it's going to be math, you should use an environment such as aligned:



    \underbrace{\begin{aligned}&equation1 \\ &(line break) equation 2\end{aligned}}_{text}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.