Fyrimynd:Overunderset

{{{2}}}{{{1}}}{{{3}}}
Documentation icon Skjalfesting til fyrimyndina[vís] [rætta] [søga] [dagfør]

This template combines the {{overset}} and {{underset}} templates into one.

The template names {{overunderset}} and {{underoverset}} are synonymous and can be used interchangeably: {{underoverset}} redirects to {{overunderset}}.

Syntax rætta

The code is:

{{underoverset|a|b|c}} or {{overunderset|a|b|c}}

where:

  1. the first parameter is the main symbol,
  2. the second parameter is the symbol above the main symbol,
  3. the third parameter is the symbol underneath the main symbol.

Application rætta

Combined overset and underset rætta

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

1234567890 + aba + 1234567890 + aba + 1234567890

but sometimes one combination will not work, particularly when there is only one combined application of templates on a line:

1234567890 + aba,
1234567890 + aba.

The overunderset is one way around the problem using by containing the over- and under- positions for symbols:

1234567890 + bac + 1234567890 + bac + 1234567890
1234567890 + bac,
1234567890 + bac.

Reduction to overset rætta

With the third parameter empty:

1234567890 + ba + 1234567890 + ba + 1234567890
1234567890 + ba,
1234567890 + ba.

Reduction to underset rætta

With the second parameter empty:

1234567890 + ab + 1234567890 + ab + 1234567890
1234567890 + ab,
1234567890 + ab.

Sí eisini rætta