This is a documentation subpage for Template:Overset. It may contain usage information, categories and other content that is not part of the original template page. |
This template is for oversetting symbols in HTML, compatible with {{math}}, as an alternative to \overset
in LaTeX.
Syntax
The syntax is:
{{overset|over|base}}
where the first parameter over
is overset centrally atop the second parameter base
. over
has a font size of 70% that of base
.
An optional named parameter allows vertical offset adjustment:
{{overset|lh=offset|over|base}}
where offset
is the elevation of the overset (centreline difference).
This template can behave poorly when combined directly with {{underset}}, with symbols not aligning; use {{overunderset}} in preference.
Examples
Without {{math}}
A vector formula inline sits on the baseline, + = , and another equation with all sorts of twiddles is similar, + = .
- Random characters and diacritics
- , , , , , , , , , , ,
- Offset control
- , , ,
- Overset letters
- +
- Rotating reference frame
- d/dt = d/dt − ×
- Vorticity
- = ×
- Acceleration
- = d/dt = d2r/dt2
With {{math}}
A vector formula in line sits on the baseline, <span class="texhtml " {{#if: + = , and another equation with all sorts of twiddles is similar, <span class="texhtml " {{#if: + = .
- Random characters and diacritics
- <span class="texhtml " {{#if:, , , , , , , , , , ,
- Offset control
- <span class="texhtml " {{#if:, , ,
- Overset letters
- <span class="texhtml " {{#if: +
- Rotating reference frame
- <span class="texhtml " {{#if:d/dt = d/dt − ×
- Vorticity
- <span class="texhtml " {{#if: = ×
- Acceleration
- <span class="texhtml " {{#if: = d/dt = d2r/dt2
See also
- For a template specifically for vectors, see {{vec}}.
- OODA WIKI:Rendering math
- Help:Displaying a formula#Reaction arrows