模板:Sqrt/doc
跳转到导航
跳转到搜索
| File:Edit-copy green with red question mark.svg | 此模板的文档不存在、不全面或不能详细描述其功能及/或其代码中的参数。请帮助扩充并改进其文档。 |
| File:Edit-copy green.svg | 此页面是Template:Sqrt的模板文档。 此页面可能包含了模板的使用说明、分类和其他内容。 |
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> \sqrt[ 3 ]{ 2} </math>.
- 若要放置于
<math></math>中请同时指定use math与in math为真,并且以{{#tag:math|}}来书写math标签:{{#tag:math| 2 + {{Sqrt|2|3|use math=yes|in math=yes}} }}gives <math> 2 + \sqrt[ 3 ]{ 2} </math>
- 若未启用
use math则无法正常显示多次方根:{{Sqrt|2|3}}gives √2