Is there a way to force a line break inside a math mode text?
My example:
\[
\underbrace{....}_\text{Some long text that should be multiline}
\]
Trying
\text{Some long text that\\ should be multiline}
Didn't do the trick.
amsmathline-breakingmath-mode
Is there a way to force a line break inside a math mode text?
My example:
\[
\underbrace{....}_\text{Some long text that should be multiline}
\]
Trying
\text{Some long text that\\ should be multiline}
Didn't do the trick.
Best Answer
You can use the
\substack
command, from theamsmath
package, just like\text
.The output: