• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.215
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Overarc

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here

Template documentation[view] [edit] [history] [purge]

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.

Contents

  • 1 Usage
  • 2 Technical details
  • 3 Accessibility
  • 4 See also

Usage

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

Tracked in Phabricator
Task T32215

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

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

  • {{Overline}}
  • {{Underline}}
  • {{Strikethrough}}
The above documentation is transcluded from Template:Overarc/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Overarc&oldid=26083"
Categories:
  • Mathematical formatting templates
  • Text-specific formatting and function templates
  • Typing-aid templates
  • Pages with math errors
  • Pages with math render errors
Last edited on 15 November 2021, at 22:41

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 15 November 2021, at 22:41.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop