Accents\overline

\overlineCommand

Used to place a bar over a mathematical symbol or expression, e.g. conjugates, closures, or repeated decimals.

\overline x
Topic
Accents
Available in
base
Kind
prefix
Allowed mode
math
Frequency
3.16% of corpus formulasrank 20 of 263
Commonality
high
Tags
decoration
Renderer support
PackageMathJaxKaTeXXeTeX
baseMathJax: FullKaTeX: FullXeTeX: Full
About the test scope

Syntax#

\overlinem{a}math content

Argspec m — one mandatory argument. Reading argspecs

Common tasks#

How to draw a line over an expression#

\overline{AB}

How to write a complex conjugate#

\overline{z}=x-iy

How to write a repeating decimal#

\overline stretches; \bar is the single-letter accent.

0.\overline{3}

In TeXForm#

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

Equivalent forms#

  • \bar{#1}approximate

    \bar typically produces a shorter line centered over a single character, whereas \overline spans the entire expression

See also#

Test cases#

base
InputCaseMathJaxKaTeXXeTeX
\overline{a}Positive · baselinePassPassPass
\overline aPositive · bare[0]PassPassPass
All 45 in Accents