模板:Radic/doc

维基百科,自由的百科全书

Usage[编辑]

{{radic|2}} gives 2.

{{radic|1 + 2''x''|4}} gives 41 + 2x.

To be used in simple inline formulae, where a <math> tag rendering to a PNG image would be overkill.

  • 当然也可以选用<math></math>输出:
    {{Radic|2|3|use math=yes}} gives .
  • 若要放置于<math></math>中请同时指定use mathin math为真,并且以{{#tag:math|}}来书写math标签:
    {{#tag:math| 2 + {{Radic|2|3|use math=yes|in math=yes}} }} gives

See also[编辑]

  • {{Sqrt}}:专门用于平方根
  • {{Root}}:附加求值功能