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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

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