Jump to content

Template:Overarc/doc

Kufuma Wikipedia

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.

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

[kulemba source]

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 (unknown function "\overarc"): {\displaystyle 0.\overarc{012345679}}

Accessibility

[kulemba source]

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

[kulemba source]