This template combines the effects of the ((overset )) and ((underset )) templates into one. The template names ((overunderset )) and ((underoverset )) are synonymous and can be used interchangeably: ((underoverset)) redirects to ((overunderset)).
The code is:
((underoverset|base|over|under))
or ((overunderset|base|over|under))
which outputs as over base under .
where:
base
the main symbol,
over
the symbol above the main symbol,
under
the symbol underneath the main symbol.
The effect of an can be achieved by combining underset followed by overset:
1234567890 + a b a + 1234567890 + a b a + 1234567890
but sometimes one combination will not work, particularly when there is only one combined application of templates on a line:
1234567890 + a b a ,
1234567890 + a b a .
The overunderset is one way around the problem using by containing the over- and under- positions for symbols:
1234567890 + b a c + 1234567890 + b a c + 1234567890
1234567890 + b a c ,
1234567890 + b a c .
With the under
parameter empty:
1234567890 + b a + 1234567890 + b a + 1234567890
1234567890 + b a ,
1234567890 + b a .
With the over
parameter empty:
1234567890 + a b + 1234567890 + a b + 1234567890
1234567890 + a b ,
1234567890 + a b .
Superscript and subscript-related templates
((sup)) and related templates Combined super/subscripts
sup textsuperscript superscript text smallsup (ssup) textsmall superscript small superscript text i sup (isup⧼dot-separator⧽padlsup ) text superscript (rather than: text superscript ) i smallsup (issup⧼dot-separator⧽padlssup) text small superscript (rather than: text small superscript ) b sup (bsup ) textsuperscript (rather than: textsuperscript ) sub textLua error: bad argument #1 to 'sub' (string expected, got nil). Lua error: bad argument #1 to 'sub' (string expected, got nil). text smallsub (ssub ) textsmall subscript small subscript text subsub textdouble-subscripted double-subscripted text
Subscript and superscript