How would I something to the effect of

$\displaystyle f(x)=x+x+x+x+...+x$

and put an under brace under the x+x+x+x+x+...+x part that says "an even number of terms}?

Printable View

- Jun 11th 2008, 04:21 PMMathstud28Under text
How would I something to the effect of

$\displaystyle f(x)=x+x+x+x+...+x$

and put an under brace under the x+x+x+x+x+...+x part that says "an even number of terms}? - Jun 11th 2008, 06:25 PMo_O
$\displaystyle f(x)= \underbrace{x+x+x+x+...+x}_{\text{An even number of terms}}$

Produced by:

[tex]f(x)= \underbrace{x+x+x+x+...+x}_{\text{An even number of terms}}[/tex] - Jun 11th 2008, 09:19 PMReckoner
Another tip: for best results, the ellipsis should be written using \dots = $\displaystyle \dots$ rather than ... = $\displaystyle ...$. And when the ellipsis is between two operators, use \cdots to get a proper center-alignment: e.g. $\displaystyle 1 + \frac12 + \frac13 + \cdots + \frac1n$ or $\displaystyle f(x) = \underbrace{x + x + x + x + \cdots + x}_{\text{An even number of terms}}$ (doesn't that look nicer?).

And thank you o_O for making me realize that there is a [noparse] tag. I used to resort to such trickery as writing [[i][/i]math]...[/tex]. This makes it much easier! - Jun 11th 2008, 11:02 PMMoo
You can note that for a brace over the whole, it's simply \overbrace :

$\displaystyle f(x)=\overbrace{x+x+x+\dots+x+x}^{\text{An even number of terms}}$

[tex]f(x)=\overbrace{x+x+x+\dots+x+x}^{\text{An even number of terms}}[/tex]