1

I would like to insert brackets around a sum to signal the number of terms inside like we sometimes do in mathematics. I drew a picture:

enter image description here

The bracket can be either on top or bottom. Is there any way to do this in LaTeX?

Torbjørn T.
  • 206,688
Sid
  • 311
  • 1
    Your cited image shows something 1/2 overbracket, half overbrace. For a pure overbrace, there is \overbrace{c+d+e+f+...+i}^{8/a}. I know there are other questions on this site that pertain to overbraces, unless the symbol you seek to overset is unusual in design. – Steven B. Segletes Sep 15 '13 at 20:43
  • 3
    I believe that an overbrace is asked for and the similarity to a bracket is just an artifact of the drawing. – egreg Sep 15 '13 at 21:04

1 Answers1

2

Try it this way:

\documentclass{scrartcl}
\usepackage{amsmath}

\begin{document}

\begin{equation}
\overbrace{c+d+e+f+\dots+i}^{8/a} \quad
\underbrace{c+d+e+f+\dots+i}_{8/a}
\end{equation}

\end{document}

Result: enter image description here

Mensch
  • 65,388