跳转到内容

Template: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}}:附加求值功能