Guy
Guy

Reputation: 14820

How to write below/above the text in LaTeX?

I want to have text above text (not superscript - x^2) but a \overbrace and text above it. (same for below the text)

thanks

Upvotes: 16

Views: 59542

Answers (1)

Alexey Malistov
Alexey Malistov

Reputation: 26995

$\overbrace{\hbox{Text}}^{\hbox{text above}}$
$\underbrace{\hbox{Text}}_{\hbox{text below}}$
$\stackrel{\hbox{Text above}}{\hbox{Text below}}$

Upvotes: 16

Related Questions