Template:Overset: Difference between revisions

From Vigyanwiki
(<includeonly>...</includeonly>)
 
m (1 revision imported from alpha:Template:Overset)
 
(2 intermediate revisions by 2 users not shown)
(No difference)

Latest revision as of 10:04, 9 February 2023

Template documentation

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.

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, a + b = c, and another equation with all sorts of twiddles is similar, ~a + n = c.

Random characters and diacritics
~a, Ԁ, D, q,··z, ·n, ^Ω, ^ε, N, H, ︿J, Φ
Overset letters
n + mA + = √6B
Rotating reference frame
dA/dt = dA/dtω × A
Vorticity
ω = × u
Acceleration
··r = d·r/dt = d2r/dt2

With {{math}}

A vector formula in line sits on the baseline, a + b = c, and another equation with all sorts of twiddles is similar, ~a + n = c.

Random characters and diacritics
~a, Ԁ, D, q,··z, ·n, ^Ω, ^ε, N, H, ︿J, Φ
Overset letters
n + mA + = √6B
Rotating reference frame
dA/dt = dA/dtω × A
Vorticity
ω = × u
Acceleration
··r = d·r/dt = d2r/dt2

See also