Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

share|improve this question

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  
Or this one: tex.stackexchange.com/questions/30862/… –  cmhughes Oct 8 '11 at 18:47
    
The question linked by Torbjorn T. does answers my question. However, I did not find it through any searches, which is why I asked it here. Thanks. –  SSilk Oct 8 '11 at 20:37

1 Answer 1

See pp 117 in http://mirror.ctan.org/info/math/voss/mathmode/Mathmode.pdf for a better vertical alignment.

share|improve this answer

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