Accents\overset

\oversetCommand

Used to place a symbol or text above another mathematical symbol or relation.

\overset{*}{=}
Topic
Accents
Available in
base
Kind
prefix
Allowed mode
math
Frequency
0.41% of corpus formulasrank 69 of 263
Commonality
high
Renderer support
PackageMathJaxKaTeXXeTeX
baseMathJax: FullKaTeX: FullXeTeX: None
About the test scope

Syntax#

\oversetm{a}math contentm{b}math content

Argspec m m — two mandatory arguments. Reading argspecs

Common tasks#

How to put a label above a relation#

X \overset{\mathrm{iid}}{\sim} \mathcal{N}(0,1)

How to write a definitional equality#

f(x) \overset{\mathrm{def}}{=} x^2

How to stack a symbol on an arrow#

A \overset{f}{\longrightarrow} B

Examples#

\overset{\text{def}}{=}

In TeXForm#

TeXForm parses this entry as prefix syntax; the package determines its argument specification.

Equivalent forms#

  • \stackrel{#1}{#2}approximate

    Styles might differ, and \\stackrel typically expects a relation symbol as the base

Test cases#

base
InputCaseMathJaxKaTeXXeTeX
\overset{a}{b}Positive · baselinePassPassFail
\overset a{b}Positive · bare[0]PassPassFail
\overset{a}bPositive · bare[1]PassPassFail
All 45 in Accents