Template:Radic2/doc
Jump to navigation
Jump to search
| This is a documentation subpage for Template:Radic2. It contains usage information, categories and other content that is not part of the original template page. |
Basic usage
{{radic2|2}} gives √2.
{{radic2|1 + 2''x''|4}} gives 4√1 + 2x.
{{math|{{radic2|2}}}} gives √2.
{{math|{{radic2|1 + 2''x''|4}}}} gives 4√1 + 2x.
Nested radicals
{{math|{{radic2|size=6|{{radic2|size=3|5+3{{radic2|4|3}}|3}}+{{radic2|size=3|2+3{{radic2|4|3}}|3}}}}}} gives √3√5+33√4+3√2+33√4.
{{radic2|size=1|3+{{radic2|4}}}} gives √3+√4.
To be used in simple inline formulae, where a <math> tag rendering to a PNG image would be overkill.
See also