Template:Overarc
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:
0.{{overarc|1}}
→ 0.10.{{overarc|3}}
→ 0.30.{{overarc|6}}
→ 0.60.{{overarc|81}}
→ 0.810.5{{overarc|83}}
→ 0.5830.{{overarc|142857}}
→ 0.1428570.{{overarc|012345679}}
→ 0.0123456793.{{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 (unknown function "\overarc"): {\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]- {{Overline}}
- {{Underline}}
- {{Strikethrough}}