Toggle menu
15
236
75
27.7K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Overset/doc: Difference between revisions

Template page
Created page with "{{documentation subpage}} This template is for oversetting symbols in HTML, compatible with {{tl|math}}, as an alternative to <code>\overset</code> in LaTeX. == Syntax == The syntax is: : <code><nowiki>{{overset|over|base}}</nowiki></code> where the first parameter <code>over</code> is overset centrally atop the second parameter <code>base</code>. <code>over</code> has a font size of 70% that of <code>base</code>. An optional named parameter allows vertical offset adju..."
 
(No difference)

Latest revision as of 06:37, 18 February 2025

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, 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, Φ
Offset control
~o, ~o, ~o, ~o
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, Φ
Offset control
~o, ~o, ~o, ~o
Overset letters
n + mA + = √6B
Rotating reference frame
dA/dt = dA/dtω × A
Vorticity
ω = × u
Acceleration
··r = d·r/dt = d2r/dt2

See also