tags:

views:

185

answers:

3

Hello everyone, I'm trying to overbrace a short equation (or part thereof) with a long superscript. This expands the overbrace to both fit content and superscript, which takes up a lot of space and looks ugly. There is a way to have the content "overflow" the brace, so it will only expand to fit its contents, but I have been unable to find out how to solve this.

E.g.:

$$ \cdots \overbrace{=}^{\text{Very long description here}} \cdots $$

Any ideas?

Thanks

+1  A: 

Two options I can think of:

  1. Experiment with \rlap, which will typeset its argument, and then continue typesetting over it. Horribly fiddly as a rule, but it should work for your example.
  2. Use Metapost to lay out the elements.
Charles Stewart
+1  A: 

Stewart's rlap hint put me in the right direction. With the help of an article about this topic I managed to accomplish what I wanted to do. I use the \mathclap command as defined in the linked article.

Thanks, xeen

xeen
+1  A: 
$$ \cdots \overbrace{=}^{\text{\hbox to 0cm{\hss Very long description here \hss}}} \cdots $$ 
Alexey Malistov
looks very elegant and easily used in macro.
Crowley