With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

No credit card required

Stacking expressions

Formulas may become complex: we might need to put one symbol above another one or above whole expressions, or we wish to put lines, braces, or dots above symbols. There are several ways.

Underlining and overlining

\overline puts a line above its argument, which may be nested:

s = \overline{AB}

The counterpart is \underline.

It doesn't have to be a line; braces are popular too. The commands are \underbrace and \overbrace . You may use subscripts and superscripts:

N = \underbrace{1 + 1 + \cdots + 1}_n

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

No credit card required