[Tex/LaTex] horizontal curly braces


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.

Best Answer

You can try the following commands:

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

An example that I took from Wikibooks:

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

Their result: example showing the result of \underbrace{•} and \overbrace{•}

Don't forget to add


at the beginning of your document

Related Question