模板:Overunderset/doc

来自Local Chinese Wikipedia
imported>Great Brightstar2013年9月26日 (四) 17:44的版本 建立内容为“{{缺乏中文说明}} This template is combines the {{tl|overset}} and {{tl|underset}} templates into one. The template names {{tl|Overunderset}} ...”的新頁面)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转到导航 跳转到搜索

This template is 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[编辑]

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[编辑]

Combined overset and underset[编辑]

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[编辑]

With the third parameter empty:

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

Reduction to underset[编辑]

With the second parameter empty:

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

See also[编辑]