Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to write below/above the text in LaTeX?

Tags:

latex

tex

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

thanks

like image 725
Guy Avatar asked Dec 13 '09 21:12

Guy


People also ask

How do you write below in LaTeX?

The important things being: \underset which takes two arguments, the first is put under the second. \mathrm to make median appear upright and differentiate it from a multiplication of 6 variables named m, e, d, i, a, and n. \{ and \} need backslashes because { and } are part of the LaTeX base language.

How do I put text above text in LaTeX?

Sometimes, hook arrow is required in latex documents and you have to use \xhookrightarrow command of mathtools package to write text above and below the hook arrow. Writing text above and below the hook arrow requires two arguments in the \xhookrightarrow[arg]{arg} command, Below are some examples.

How do you write above in LaTeX?

Use \overset{above}{main} in math mode. In your case, \overset{a}{\#} .


1 Answers

$\overbrace{\hbox{Text}}^{\hbox{text above}}$
$\underbrace{\hbox{Text}}_{\hbox{text below}}$
$\stackrel{\hbox{Text above}}{\hbox{Text below}}$
like image 182
Alexey Malistov Avatar answered Oct 13 '22 14:10

Alexey Malistov