This site is supported by donations to The OEIS Foundation.

Template:Overline

From OeisWiki
Jump to: navigation, search

alt = This template is under construction...
This template is under construction.            

Please do not use this unfinished and/or still unreliable template.            
_________________________

Issues
The \overline{ } LaTeX command, hence this template for LaTeX, puts the bar at either x-height or ascender height, while this template puts the bar always at ascender height for HTML+CSS.
The \underline{ } LaTeX command, hence {{underline}} for LaTeX, puts the bar at either baseline height or descender height, while {{underline}} puts the bar always at baseline height for HTML+CSS.


Note: not to be confused with {{overbar}} ({{ob}}), which produces a bar [at either x-height or cap height, as appropriate] over the specified single Latin or Greek character, which corresponds to the \bar{ } LaTeX command.

The {{overline}} ({{ol}}) OEIS Wiki utility template produces an overline [always at cap height] over the specified text, and corresponds to the \overline{ } LaTeX command.

{{overline}} vs {{overbar}}

{{ol|x}} {{ol|X}} yields x X

{{ob|x}} {{ob|X}} yields x̅ X̅

Examples

{{math|''{{ol|complex}}{{sp}}{{ol|case}}{{sp}}{{ol|{{Gr|alpha}}{{Gr|lambda}}{{Gr|varphi}}{{Gr|alpha}}}}''|&}} yields the text style HTML+CSS

complexcaseαλφα

{{math|''{{ol|complex|tex}}{{sp|tex}}{{ol|case|tex}}{{sp|tex}}{{ol|{{Gr|alpha|tex}}{{Gr|lambda|tex}}{{Gr|varphi|tex}}{{Gr|alpha|tex}}|tex}}''|$}} yields the text style LaTeX

Combined with the {{underline}} ({{ul}}) template:

{{math|''{{ul|{{ol|complex}}}}{{sp}}{{ol|{{ul|case}}}}{{sp}}{{ul|{{ol|{{Gr|alpha}}{{Gr|lambda}}{{Gr|varphi}}{{Gr|alpha}}}}}}''|&}} yields the text style HTML+CSS

complexcaseαλφα

{{math|''{{ul|{{ol|complex|tex}}|tex}}{{sp|tex}}{{ol|{{ul|case|tex}}|tex}}{{sp|tex}}{{ul|{{ol|{{Gr|alpha|tex}}{{Gr|lambda|tex}}{{Gr|varphi|tex}}{{Gr|alpha|tex}}|tex}}|tex}}''|$}} yields the text style LaTeX

See also

  • {{Underline}} ({{ul}} or {{u}})
  • {{Overline}} ({{ol}} or {{o}})
  • {{Overbar}} ({{ob}}) (which produces a bar [at either x-height or cap height, as appropriate] over the specified single Latin or Greek character, corresponding to the \bar{ } LaTeX command)