Below fraction is my source input. i want to short horizontal rule. Can anyone please advise. I have attached both input and expecting output images:
and the tex source code is:
\[\frac{\overbrace{A}^{\text{detector area}}}{\underbrace{4\pi}_{\text{unit solid angle}}}\]
An expected output is:
mathtools
and use\mathclap{\text{....}}
instead of\text{...}