模板: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