[OS X TeX] Putting text under

Josep Maria Font jmfont at orangecorreo.es
Wed May 14 09:11:45 CEST 2008


El 13/05/2008, a las 22:53, Morten Høgholm escribió:

> On Tue, 13 May 2008 21:35:34 +0200, Themis Matsoukas wrote:
>
>> Is there a way to produce an effect similar to
>>
>>      \underbrace{my equation here}_{text below my equation}
>>
>> but *without* the underbrace? In other words, I want to stack some
>> text below an equation without moving the equation vertically.
>
>
> \documentclass{article}
> \usepackage{mathtools}% loads amsmath
> \begin{document}
> \[
> a \begin{gathered}[t]
>   xyz \\
>   \text{text underneath}
>   \end{gathered}
>   b
> \]
> \end{document}
>
> gathered centers each line, lgathered sets flush left.

Same without amsmath:

\[
a
\begin{array}[t]{c}
   xyz \\
   \mbox{text underneath}
\end{array}
b
\]

You can put a \footnotesize inside the \mbox if you want the smaller  
size that obtains with \underbrace.

For inline formulas it is perhaps better to use "tabular":

text with baseline
\begin{tabular}[t]{@{}c@{}}
   $Formula here$ \\
   {\footnotesize Smaller underneath text}
\end{tabular}
following the line


JMaF




More information about the macostex-archives mailing list