模板:Sqrt
外觀
√{{{1}}}
此模板的文檔不存在、不全面或不能詳細描述其功能及/或其代碼中的參數。請幫助擴充並改進其文檔。 |
Usage
[編輯]{{sqrt|2}}
gives √2.
This template is an alternative to using the LaTeX \sqrt rendered in-line, and will make the square root appear as text with the √ symbol and then the number (entered as the first parameter in this template) with an overline. Do not use this inside <math> tags.
- 當然也可以選用
<math></math>
輸出:{{Sqrt|2|3|use math=yes}}
gives .
- 若要放置於
<math></math>
中請同時指定use math
與in math
為真,並且以{{#tag:math|}}
來書寫math標籤:{{#tag:math| 2 + {{Sqrt|2|3|use math=yes|in math=yes}} }}
gives
- 若未啟用
use math
則無法正常顯示多次方根:{{Sqrt|2|3}}
gives √2