Template:Overunderset/doc

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: redirects to.

Syntax
The code is:


 * or
 * which outputs as $$.

where:
 * : the main symbol,
 * : the symbol above the main symbol,
 * : the symbol underneath the main symbol.

Combined overset and underset
The effect of an can be achieved by combining underset followed by overset:


 * 1234567890 + $$ + 1234567890 + $$ + 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$ + 1234567890
 * 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 + + 1234567890 +$.

Reduction to overset
With the  parameter empty:


 * 1234567890 + $$ + 1234567890 + $$ + 1234567890
 * 1234567890 + $$,
 * 1234567890 + $$.

Reduction to underset
With the  parameter empty:


 * 1234567890 + $$ + 1234567890 + $$ + 1234567890
 * 1234567890 + $$,
 * 1234567890 + $$.