This template places an elliptical arc over the given text. An overarc is the notation for repeating decimals in Spain and some Latin American countries and for named geometric arcs.

Usage

edit

The sole, unnamed parameter is the text to place beneath the overarc. The text can be any arbitrary length and is not limited to digits. For example:

θ is the central angle subtending arc AB and ψ is the inscribed angle subtending arc AB.
  • 0.{{overarc|1}} → 0.1
  • 0.{{overarc|3}} → 0.3
  • 0.{{overarc|6}} → 0.6
  • 0.{{overarc|81}} → 0.81
  • 0.5{{overarc|83}} → 0.583
  • 0.{{overarc|142857}} → 0.142857
  • 0.{{overarc|012345679}} → 0.012345679
  • 3.{{overarc|142857}} → 3.142857
  • {{overarc|''AB''}}AB

Technical details

edit

This template is a workaround for the Math extension's lack of support for the \overarc{…} function in LaTeX:

0.\overarc{012345679}

Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "http://localhost:6011/en.wikipedia.org/v1/":): {\displaystyle 0.\overarc{012345679}}

Accessibility

edit

This template is purely presentational, relying on the CSS property border-radius and browser support for elliptical borders. To ensure that screen readers produce meaningful results, consider prepending something like {{Screen reader-only|repeating }} for a repeating decimal or {{Screen reader-only|arc }} for a reference to a geometric arc.

See also

edit