[Tex/LaTex] Overbrace/underbrace without extending brackets/parentheses

bracesbracketsequations

I'm using \overbrace to explain a part of an equation, like this:

\begin{align}
a\left[\frac{d\cos y}{e} + \overbrace{\frac{b\sin x}{c}}^{\text{second bit}}\right]
\end{align}

But the overbrace increases the height of the brackets unnecessarily:

Brackets extended unnecessarily

Really, what I'd like is for the height of the brackets to be unrelated to the overbrace, like this:

Brackets correct height

Is this possible?

Best Answer

enter image description here

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation}
a\Bigl[\frac{d\cos y}{e} + \overbrace{\frac{b\sin x}{c}}^{\text{second bit}}\Bigr]
\end{equation}
\end{document}