模板: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:
- the first parameter is the main symbol,
- the second parameter is the symbol above the main symbol,
- 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 + + 1234567890 + + 1234567890
but sometimes one combination will not work, particularly when there is only one combined application of templates on a line:
- 1234567890 + ,
- 1234567890 +
The overunderset is one way around the problem using by containing the over- and under- positions for symbols:
- 1234567890 + + 1234567890 + 1234567890 +
- 1234567890 + ,
- 1234567890 + .
Reduction to overset
With the third parameter empty:
- 1234567890 + + 1234567890 + 1234567890 +
- 1234567890 + ,
- 1234567890 + .
Reduction to underset
With the second parameter empty:
- 1234567890 + + 1234567890 + 1234567890 +
- 1234567890 + ,
- 1234567890 + .
See also
- Wikipedia:«math»
- Template:Su for superscripts and subscripts adjacent to a symbol, rather than above and below it.
上述文件嵌入自Template:Overunderset/doc。 (編輯 | 歷史) 編者可以在本模板的沙盒 (建立 | 鏡像)和測試樣例 (建立)頁面進行實驗。 請在/doc子頁面中添加分類。本模板的子頁面。 |