12

Possible Duplicate:
How can I force a line break within \text{…}?

In the MWE below, is it possible to force a line break in the text under the Z so that the overall equation is more compact in the horizontal direction? I tried a normal linebreak, which I hoped would work since it's inside a \text, but that gave me errors.

Also, if there's a better way to make this sort of equation callout, please let me know. \underbrace and underset and variants thereon are the only methods I'm familiar with at present.

The Cauchy-Schwartz equation below from the Navier-Stokes Wiki article shows the kind of line breaks I was hoping to get in the underbrace.

MWE

\documentclass[12pt]{article}
\usepackage{amsmath}
\begin{document}
\[
        \underbrace{z}_{\text{Initial Acceleration}} = x + y
\]
\end{document}

Underbrace linebreaks:

Equations with underbrace linebreaks

marked as duplicate by Torbjørn T., lockstep, Gonzalo Medina, Caramdir, SSilk Oct 8 '11 at 20:37

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1

See chapter 7.5.4 on pp 129f. in http://tug.org/~hvoss for a better vertical alignment.

  • Link is dead, name of the package or command? – Novice C Mar 3 '17 at 15:42
  • Link is updated ... – user2478 Aug 19 '17 at 6:27

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