# horizontal curly braces [duplicate]

Possible Duplicate:
Using braces to label parts of an equation

I have formula and I need to make horizontal curly brace underlying part of it. Also I need curly braces on top of the formula. How to do it? I tried to use \stackrel and \mathtop but it does not work.

-

## marked as duplicate by Stefan Kottwitz♦Feb 29 '12 at 18:04

I have found. I should use \overbrace{}^{} and \underbrace{}^{}. –  ashim Feb 29 '12 at 17:52
Thanks for telling us that you found it! I closed it as a duplicate, since we had such a question already (several times). –  Stefan Kottwitz Feb 29 '12 at 18:05

You can try the following commands:

\overbrace{your-formula}^\text{your comment}

$z = \overbrace{ \underbrace{x}_\text{real} + \underbrace{iy}_\text{imaginary} }^\text{complex number}$