Description  Sample  Unicode  CSS/HTML 

Overline (markup) 
Xx  N/A  textdecoration: overline;

Overline (character) 
‾  U+203E  ‾ , ‾

X̅ (combining)  U+0305  X̅
 
Macron (character) 
¯  U+00AF  ¯ , ¯

Double overline (markup) 
Xx  N/A  textdecoration: overline;

Double overline (character) 
X̿ (combining)  U+033F  X̿

An overline, overscore, or overbar, is a typographical feature of a horizontal line drawn immediately above the text. In mathematical notation, an overline has been used for a long time as a vinculum, a way of showing that certain symbols belong together. The original use in Ancient Greek was to indicate compositions of Greek letters as Greek numerals.^{[1]} In Latin, it indicates Roman numerals multiplied by a thousand and it forms medieval abbreviations (sigla). Marking one or more words with a continuous line above the characters is sometimes called overstriking, though overstriking generally refers to printing one character on top of an alreadyprinted character.
An overline, that is, a single line above a chunk of text, should not be confused with the macron, a diacritical mark placed above (or sometimes below) individual letters. The macron is narrower than the character box.^{[2]}
Uses
Medicine
An overbar over a letter is a traditional way of specifying certain Latin abbreviations. For example, s̅ (s overbar) stands for Latin, sine (meaning without), c̅ (c overbar) is an abbreviation for Latin, cum (meaning with), ā (a overbar) stands for Latin, "ante" (meaning "before"), and p̄ (p overbar) stands for Latin, "post" (meaning "after").
Math and science
Vinculum
In mathematics, an overline can be used as a vinculum.
The vinculum can indicate a line segment:^{[3]}^{[4]}
The vinculum can indicate a repeating decimal value:
 ^{1}⁄_{7} = 0.142857 = 0.1428571428571428571...
When it is not possible to format the number so that the overline is over the digit(s) that repeat, one overline character is placed to the left of the digit(s) that repeat:
 3.¯3 = 3.3 = 3.333333333333...
 3.12¯34 = 3.1234 = 3.123434343434...
Historically, the vinculum was used to group together symbols so that they could be treated as a unit. Today, parentheses are more commonly used for this purpose.
Statistics
The overline is used to indicate a sample mean:^{[5]}^{[6]}
 is the average value of
Survival functions or complementary cumulative distribution functions are often denoted by placing an overline over the symbol for the cumulative:.^{[5]}
Negation
In set theory and some electrical engineering contexts, negation operators (also known as complement) can be written as an overline above the term or expression to be negated.^{[7]}^{[8]} For example:
Common set theory notation:
Electrical engineering notation:
in which the times (cross) means multiplication, the dot means logical AND, and the plus sign means logical OR.
Both illustrate De Morgan's laws and its mnemonic, "break the line, change the sign".
Negative
In common logarithms, a bar over the characteristic indicates that it is negative—whilst the mantissa remains positive. This notation avoids the need for separate tables to convert positive and negative logarithms back to their original numbers.
Reciprocal
In some rare occasions, a bar over a number or expression means its multiplicative inverse^{[9]}, which is more commonly shown as a fraction or negative exponent
Complex numbers
The overline notation can indicate a complex conjugate and analogous operations.^{[10]}^{[11]}
 if , then
Vector
In physics, an overline sometimes indicates a vector, although boldface and arrows are also commonly used:
Improper rotation
In crystallography, an overline indicates an improper rotation or a negative number:
 is the Hermann–Mauguin notation for a threefold rotoinversion, used in crystallography.
 is the direction with Miller indices , , .
Maximal conductance
In computational neuroscience, an overline is used to indicate the 'maximal' conductances in HodgkinHuxley models. This goes back to at least the landmark paper published by Nobel prize winners Alan Lloyd Hodgkin and Andrew Fielding Huxley around 1952.^{[12]}
Antiparticles
Overlines are used in subatomic particle physics to denote antiparticles for some particles (with the alternate being distinguishing based on electric charge). For example, the proton is denoted as ^{}
_{}p^{}
_{}, and its corresponding antiparticle is denoted as ^{}
_{}p^{}
_{}.
Engineering
An active low signal is designated by an overline, e.g. RESET, representing logical negation.
Morse (CW)
Some Morse code prosigns can be expressed as two or three characters run together, and an overline is often used to signify this. The most famous is the distress signal, SOS.
Writing
An overlinelike symbol is traditionally used in Syriac text to mark abbreviations and numbers. It has dots at each end and the center. In German it is occasionally used to indicate a pair of letters which cannot both be fitted into the available space.^{[13]}^{[14]}
When Morse code is written out as text, overlines are used to distinguish prosigns and other concatenated character groups from strings of individual characters.
In Arabic writing and printing, overlines are traditionally used instead of underlines for typographic emphasis^{[15]}, although underlines are used more and more due to the rise of the internet.
Linguistics
Xbar theory makes use of overbar notation to indicate differing levels of syntactic structure. Certain structures are represented by adding an overbar to the unit, as in X. Due to difficulty in typesetting the overbar, the prime symbol is often used instead, as in X′. Contemporary typesetting software, such as LaTeX, has made typesetting overbars considerably simpler; both prime and overbar markers are accepted usages. Some variants of Xbar notation use a doublebar (or doubleprime) to represent phrasallevel units.
Xbar theory derives its name from the overbar. One of the core proposals of the theory was the creation of an intermediate syntactic node between phrasal (XP) and unit (X) levels; rather than introduce a different label, the intermediate unit was marked with a bar.
Implementations
HTML with CSS
In HTML using CSS, overline is implemented via the textdecoration property; for example, <span style="textdecoration: overline">text</span>
results in: text.
The text decoration property supports also other typographical features with horizontal lines: underline (a line below the text) and strikethrough (a line through the text).
Unicode
As mentioned above, Unicode includes two graphic characters, U+00AF ¯ MACRON and U+203E ‾ OVERLINE. They are compatibility equivalent to the U+0020 SPACE with nonspacing diacritics U+0304 ◌̄ COMBINING MACRON and U+0305 ◌̅ COMBINING OVERLINE respectively; the latter allows an overline to be placed over any character. There is also U+033F ◌̿ COMBINING DOUBLE OVERLINE. As with any combining character, it appears in the same character box as the character that logically precedes it: for example, x̅, compared to x‾. A series of overlined characters usually results in an unbroken line, depending on the font (for example, 1̅2̅3̅).
For East Asian (CJK) computing, U+FFE3 ￣ FULLWIDTH MACRON is available. Despite the name, Unicode maps this character to both U+203E and U+00AF.^{[16]}
Unicode maps the overlinelike character from ISO/IEC 88591 and code page 850 to the U+00AF ¯ MACRON symbol mentioned above. In a reversal of its official name (and compatibility decomposition), it is much wider than an actual macron diacritic over most letters, and actually wider than U+203E ‾ OVERLINE in most fonts. In Microsoft Windows, U+00AF can be entered with the keystrokes Alt+0175 (where numbers are entered from the numeric keypad).
In GTK/GTK+, the symbol can be added using the keystrokes Ctrl+⇧ Shift+U to activate Unicode input, then type "00AF" as the code for the character. On a Mac, with the ABC Extended
keyboard, use ⌥ Option+a.
The Unicode character U+070F SYRIAC ABBREVIATION MARK is used to mark Syriac abbreviations and numbers. However, several computer environments do not render this line correctly or at all.
The Unicode character U+0B55 ୕ ORIYA SIGN OVERLINE is used as a length mark in Odia script.
Word processors
In Microsoft Word, overstriking of text can be accomplished with the EQ \O()
field code. The field code {EQ \O(x,¯)}
produces x and the field code {EQ \O(xyz,¯¯¯)}
produces xyz. (Doesn't work in Word 2010; it is necessary to insert MS Equation object).
Windows: Alt+0773 (once before character, one more time after character).
LibreOffice has direct support for several styles of overline in its "Format / Character / Font Effects" dialog.
Overstriking of longer sections of text, such as in 123, can also be produced in many text processors as text markup as a special form of understriking.
TeX
In LaTeX, a text <text> can be overlined with $\overline{\mbox{<text>}}$
. The inner \mbox{}
is necessary to
override the mathmode (here invoked by the dollar signs) which the \overline{}
demands.
See also
References
Wikimedia Commons has media related to Overlining. 
 ^ Smith, T. P. (2013). How Big is Big and How Small is Small: The Sizes of Everything and Why.
 ^ Wells, J.C. (2001). "Orthographic diacritics and multilingual computing". University College London. Retrieved 23 March 2014.
 ^ "List of Geometry and Trigonometry Symbols". Math Vault. 20200417. Retrieved 20200824.
 ^ "Line Segment Definition  Math Open Reference". www.mathopenref.com. Retrieved 20200824.
 ^ ^{a} ^{b} "List of Probability and Statistics Symbols". Math Vault. 20200426. Retrieved 20200824.
 ^ "Sample Means". www.stat.yale.edu. Retrieved 20200824.
 ^ "Comprehensive List of Set Theory Symbols". Math Vault. 20200411. Retrieved 20200824.
 ^ "Set Operations  Union  Intersection  Complement  Difference  Mutually Exclusive  Partitions  De Morgan's Law  Distributive Law  Cartesian Product". www.probabilitycourse.com. Retrieved 20200824.
 ^ Mansfield, Daniel, and N. J. Wildberger (2017). "Plimpton 322 is Babylonian exact sexagesimal trigonometry". Historia Mathematica. 44 (4): 395–419. doi:10.1016/j.hm.2017.08.001.
 ^ "Comprehensive List of Algebra Symbols". Math Vault. 20200325. Retrieved 20200824.
 ^ Weisstein, Eric W. "Complex Conjugate". mathworld.wolfram.com. Retrieved 20200824.
 ^ Hodgkin, A. L.; Huxley, A. F. (1952). "A quantitative description of membrane current and its application to conduction and excitation in nerve". The Journal of Physiology. 117 (4): 500–544. doi:10.1113/jphysiol.1952.sp004764. PMC 1392413. PMID 12991237.
 ^ Hardwig, Florian (20111123). "Gräfinnen". Flickr. Retrieved 26 December 2017.
 ^ Hardwig, Florian (20151226). "Lieder zur Weihnachtszeit (1940)". Fonts in Use. Retrieved 26 December 2017.
It used to be common to mark omitted double letters with an overbar, especially for 'mm' and 'nn'. These abbreviations come in handy when lyrics have to match the musical notes, see 'da kom[m]t er her'.
 ^ "Emphasis (typography)". Emphasis (typography). Retrieved 20200902.
 ^ The Unicode Consortium (2012), "Halfwidth and Fullwidth Forms" (PDF), The Unicode Standard 6.1, ISBN 9781936213023,
FULLWIDTH MACRON • sometimes treated as fullwidth overline