# Breaking \underbrace over two lines

How can I have something like the following in LaTeX?

\begin{align}

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

\end{align}


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. Mar 23 '17 at 9:25
• You can use \parbox inside the \underbrace. Inside the parbox you can use \\ . 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 Mar 23 '17 at 9:29
• @daleif yeah, you're right. Didn't consider that. 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:
\documentclass[]{scrartcl}