Overline
{{Short description|Horizontal line immediately above a portion of writing}}
{{hatnote|This article is about the typographic element. For the diacritic, see macron (diacritic) and bar (diacritic).}}
{{More citations needed|date=October 2009}}
class="wikitable" align="right" | ||
Description || Sample || Unicode || CSS/HTML | ||
---|---|---|
Overline (markup) | {{overline|Xx}} | {{n/a}}
| style="font-size:75%" | | |
rowspan="2" | Overline (character) | ‾ | U+203E | ‾ , ‾ |
X̅x̅ (combining) | U+0305 | X̅ |
Double overline (markup) | Xx | {{n/a}}
| style="font-size:75%" | | |
Double overline (character) | X̿x̿ (combining) | U+033F | X̿ |
rowspan="3" | Macron (character) | ¯ | U+00AF | ¯ , ¯ |
X̄x̄ (combining) | U+0304 | X̄ |
X̄x̄ (precomposed)
| colspan="2" style="background: #ececec; color: #2C2C2C; vertical-align: middle; text-align: {{{align|center}}} | varies |
An overline, overscore, or overbar, is a typographical feature of a horizontal line drawn immediately above the text. In old mathematical notation, an overline was called a vinculum, a notation for grouping symbols which is expressed in modern notation by parentheses, though it persists for symbols under a radical sign. The original use in Ancient Greek was to indicate compositions of Greek letters as Greek numerals.Smith, T. P. (2013). How Big is Big and How Small is Small: The Sizes of Everything and Why. 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 already-printed 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.{{cite web | url=http://www.phon.ucl.ac.uk/home/wells/dia/diacritics-revised.htm#macron | title=Orthographic diacritics and multilingual computing | publisher=University College London | date=2001 | access-date=23 March 2014 | author=Wells, J.C. | author-link=John C. Wells }}
Uses
=Medicine=
{{main|scribal abbreviation|medical abbreviation|macron (diacritic)}}
In most forms of Latin scribal abbreviation, an overline or macron indicates omitted letters similar to use of apostrophes in English contractions. Letters with macrons or overlines continue to be used in medical abbreviations in various European languages, particularly for prescriptions. Common examples include
- {{overline|a}}, a̅, or ā for {{lang|la|{{linktext|ante}}}} ("before")
- {{overline|c}}, c̅, or c̄ for {{lang|la|{{linktext|cum}}}} ("with")
- {{overline|p}}, p̅, or p̄ for {{lang|la|{{linktext|post}}}} ("after"){{Cite book|title=Manuali Hoepli Lexicon Abbreviature Dizionario Di Abbreviature Latine ed Italiane|last=Cappelli|first=Adriano|publisher=Editore Ulrico Hoepli Milano|year=1961|location=Milan|pages=256}}
- {{overline|q}}, q̅, or q̄ for {{lang|la|{{linktext|quisque}}}} and its inflections ("every", "each")
- {{overline|s}}, s̅, or s̄ for {{lang|la|{{linktext|sine}}}} ("without")
- {{overline|x}}, x̅, or x̄ for {{lang|la|{{linktext|exceptus}}}} and its inflections ("except")
Note, however, that abbreviations involving the letter h take their macron halfway up the ascending line rather than at the normal height for Unicode overlines and macrons: ħ. This is separately encoded in Unicode with the symbols using bar diacritics and appears shorter than other overlines in many fonts.
=Math and science=
==Decimal separator==
{{Main|Decimal separator}}
In the Middle Ages, from the original Indian decimal writing, before printing, an overline over the units digit was used to separate the integral part of a number from its fractional part, as in 9{{overline|9}}95 (meaning 99.95 in decimal point format). A similar notation remains in common use as an underbar to superscript digits, especially for monetary values without a decimal separator, as in 99{{underline|95}}.{{fact|date=January 2022}}
==Vinculum==
In mathematics, an overline can be used as a vinculum.
The vinculum can indicate a line segment:{{Cite web|title=Line Segment Definition - Math Open Reference| url=https://www.mathopenref.com/linesegment.html|access-date=2020-08-24|website=www.mathopenref.com}}The vinculum can indicate a repeating decimal value: 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:
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:{{Cite web|title=Sample Means|url=http://www.stat.yale.edu/Courses/1997-98/101/sampmn.htm|access-date=2020-08-24|website=www.stat.yale.edu}}
- 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: .
==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.{{Cite web|title=Set Operations {{!}} Union {{!}} Intersection {{!}} Complement {{!}} Difference {{!}} Mutually Exclusive {{!}} Partitions {{!}} De Morgan's Law {{!}} Distributive Law {{!}} Cartesian Product|url=https://www.probabilitycourse.com/chapter1/1_2_2_set_operations.php|access-date=2020-08-24|website=www.probabilitycourse.com}} For example:
Common set theory notation:
:
\overline{A \cup B} &\equiv \overline{A} \cap \overline{B} \\
\overline{A \cap B} &\equiv \overline{A} \cup \overline{B}
\end{align}
Electrical engineering notation:
:
\overline{A \cdot B} &\equiv \overline {A} + \overline {B} \\
\overline{A + B} &\equiv \overline {A} \cdot \overline {B}
\end{align}
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.
:
==Complex numbers==
The overline notation can indicate a complex conjugate and analogous operations.{{Cite web|last=Weisstein|first=Eric W.|title=Complex Conjugate|url=https://mathworld.wolfram.com/ComplexConjugate.html|access-date=2020-08-24|website=mathworld.wolfram.com|language=en}}
- if , then
==Vector==
==Congruence classes {{Anchor|Residue|Residue class|Congruence class}}==
Congruence modulo {{math|n}} is an equivalence relation, and the equivalence class of the integer {{math|a}}, denoted by {{math|{{overline|a}}{{sub|n}}}}, is the set {{math|{... , a − 2n, a − n, a, a + n, a + 2n, ...}}}. This set, consisting of all the integers congruent to {{math|a}} modulo {{math|n}}, is called the congruence class, residue class, or simply residue of the integer {{math|a}} modulo {{math|n}}. When the modulus {{math|n}} is known from the context, that residue may also be denoted {{math|[a]}} or {{math|{{overline|a}}}}.
==Topological closure==
In topology, the closure of a subset S of a topological space is often denoted {{math|{{overline|S}}}} or .
==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 Hodgkin-Huxley models. This goes back to at least the landmark paper published by Nobel prize winners Alan Lloyd Hodgkin and Andrew Fielding Huxley around 1952.{{Cite journal
| last1 = Hodgkin | first1 = A. L.
| last2 = Huxley | first2 = A. F.
| title = A quantitative description of membrane current and its application to conduction and excitation in nerve
| journal = The Journal of Physiology
| volume = 117
| issue = 4
| pages = 500–544
| year = 1952
| pmid = 12991237
| pmc = 1392413
| doi=10.1113/jphysiol.1952.sp004764
}}
:
==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 {{Subatomic particle|proton}}, and its corresponding antiparticle is denoted as {{Subatomic particle|antiproton}}.
= Engineering =
An active low signal is designated by an overline, e.g. {{overline|RESET}}, representing logical negation.
= Graphics Design =
Overlining is also used in graphics design for decoration of text to help convey a message.{{cite web | url=https://fastercapital.com/content/Overline-vs--Underline--Unraveling-the-Differences.html | title=Overline vs: Underline: Unraveling the Differences | publisher=Faster Capital | date=18 June 2024 | accessdate=8 September 2024}}
= 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, {{overline|SOS}}.
=Writing=
An overline-like 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 (also see the use of macron in German writing).{{cite web|last1=Hardwig|first1=Florian|title=Gräfinnen|url=https://www.flickr.com/photos/hardwig/6388399531/|website=Flickr|access-date=26 December 2017|date=2011-11-23}}{{cite web|last1=Hardwig|first1=Florian|title=Lieder zur Weihnachtszeit (1940)|url=https://fontsinuse.com/uses/11409/lieder-zur-weihnachtszeit-1940|website=Fonts in Use|access-date=26 December 2017|quote=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'.|date=2015-12-26}}
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,{{Cite web|title=Emphasis (typography)|url=https://graficnotes.blogspot.com/2016/08/emphasis-typography.html|access-date=2020-09-02|website=Emphasis (typography)}} although underlines are used more and more due to the rise of the internet.
File:Persian_Bible_overline.png in Persian (1920)]]
=Linguistics=
X-bar 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 {{overline|X}}. Due to difficulty in typesetting the overbar, the prime symbol is often used instead, as in X{{prime}}. Contemporary typesetting software, such as LaTeX, has made typesetting overbars considerably simpler; both prime and overbar markers are accepted usages. Some variants of X-bar notation use a double-bar (or double-prime) to represent phrasal-level units.
X-bar 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 text-decoration property; for example,
results in: {{overline|text}}.
The text decoration property supports also other typographical features with horizontal lines: underline (a line {{underline|below}} the text) and strikethrough (a line {{strikethrough|through}} the text).
=Unicode=
Unicode includes two graphic characters, {{unichar|00AF|macron}} and {{unichar|203E|overline}}. They are compatibility equivalent to the {{unichar|0020|space|nlink=space (punctuation)}} with non-spacing diacritics {{unichar|0304|combining macron|cwith=◌|nlink=macron (diacritic)}} and {{unichar|0305|combining overline|cwith=◌}} respectively; the latter allows an overline to be placed over any character. There is also {{unichar|033F|combining double overline|cwith=◌}}. 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, for example 1̅2̅3̅, may result either in a broken or an unbroken line, depending on the font.
In Unicode, character {{mono|U+FE26}} {{smallcaps2|1=COMBINING CONJOINING MACRON}} is conjoining (bridging) two characters: {{mono|1={{big|1=◌︦◌}}}}.
In East Asian (CJK) computing, {{unichar|FFE3|fullwidth macron}} is available. Despite the name, Unicode maps this character to both U+203E and U+00AF.
Unicode maps the overline-like character from ISO/IEC 8859-1 and code page 850 to the {{unichar|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 {{unichar|203E|overline}} in most fonts. In ChromeOS and Linux, the symbol can be added using the keystrokes {{keypress|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 {{keypress|Option|a}}. In Microsoft Windows, U+00AF can be entered with the keystrokes {{key press|Alt|0}}{{key press|1|7|5|chain=}} (where numbers are entered from the numeric keypad).
The Unicode character {{unichar|070F|Syriac Abbreviation Mark|nlink=}} is used to mark Syriac abbreviations and numbers. However, several computer environments do not render this line correctly or at all.
The Unicode character {{unichar|0B55|ORIYA SIGN OVERLINE}} is used as a length mark in Odia script.
=Word processors=
Collabora Online, an office suite for the web has direct menu support for several styles of Overline in the "Format" menu, with options available under "Format > Character" enabling the default solid Overline to be replaced with double overline, dots, dashes, waves, double waves, and the color of the Overline can be set.
Collabora Office and LibreOffice
have direct menu support for several styles of Overline in the "Format" menu. The user-interface option is available in their word processors on Linux, macOS and Windows, and also in Android (in tablet format), ChromeOS and iPadOS with Collabora Office. Options for Overline are available under the menu: "Format > Character", enabling the default solid Overline to be replaced with double overline, dots, dashes, waves, double waves, and the color of the Overline can be set.
Microsoft Word does not have a menu option to edit Overlining in Microsoft Word for any operating system, or in Word for the web. Overlining can be added using fields codes, EQ \O()
. The field code {EQ \O(x,¯)}
produces {{overline|x}} and the field code {EQ \O(xyz,¯¯¯)}
produces {{overline|xyz}}; However this does not work in Word on Android, ChromeOS, iPadOS, or Word for the web. In Word 2010 it is necessary to insert an MS Equation object.
Overstriking of longer sections of text, such as in {{overline|123}}, can also be produced in many text processors as text markup as a special form of understriking.
=Spreadsheet, Presentation and Graphics office suite applications=
Collabora Online, Collabora Office and LibreOffice have direct menu support for several styles of Overline in the "Format" menu within applications of their office suites, including spreadsheets, presentations and graphics applications. The user-interface option is available in the web based suite, and the locally installable applications for Linux, macOS and Windows, and with Collabora Office in Android (in tablet format), ChromeOS and iPadOS. Options for Overline are available under the menu: "Format > Character", enabling the default solid Overline to be replaced with double overline, dots, dashes, waves, double waves, and the color of the Overline can be set.
===TeX===
In LaTeX, a text $\overline{\mbox{
. The inner \mbox{}
is necessary to
override the math-mode (here invoked by the dollar signs) which the \overline{}
demands.
See also
{{Commons category|Overlining}}
- Ā
- Titlo, an overline used to indicate numerals or abbreviations in Cyrillic
- Underscore
References
| chapter-url = https://www.unicode.org/charts/PDF/UFF00.pdf
| chapter =Halfwidth and Fullwidth Forms
| title = The Unicode Standard 6.1
| author = The Unicode Consortium
| year= 2012
| publisher =Unicode Consortium
| isbn = 978-1-936213-02-3
| quote = FULLWIDTH MACRON • sometimes treated as fullwidth overline
}}