Math & ScienceExponent Sits Above Overbrace

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
StarKid
Posts: 21
Joined: Thu May 26, 2011 8:47 pm

Exponent Sits Above Overbrace

Post by StarKid »

The fraction gamma/beta is showing up on top of the overbrace instead of off to the right. Also, is there a way to make the overbrace smaller?

MWE:

Code: Select all

\documentclass[12pt]{article}
\begin{document}

\[ h(r)=\left[\frac{\widetilde{S}(r)\overbrace{h(r)}^{\gamma/ \beta}}{L_{t} (r)}+\frac{(\alpha K)^{\gamma}}{L_{t} (r)(\rho_{t}+\delta+\delta g-g)} \right]^{\frac{\beta}{\beta+\gamma}} \]

\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

StarKid
Posts: 21
Joined: Thu May 26, 2011 8:47 pm

Exponent Sits Above Overbrace

Post by StarKid »

Ok, I fixed the exponent positioning by adding braces around \overbrace and putting the exponent outside the braces:

Code: Select all

\[ h(r)=\left[\frac{\widetilde{S}(r){\overbrace{h(r)}}^{\gamma/\beta}}{L_{t} (r)}+\frac{(\alpha K)^{\gamma}}{L_{t} (r)(\rho_{t}+\delta+\delta g-g)} \right]^{\frac{\beta}{\beta+\gamma}} \]
but my overbrace is still way too large in certain cases, for example

Code: Select all

$\overbrace{f}(r)$
.
Post Reply