Template:sqrt
Jump to navigation
Jump to search
{{sqrt}} is a template for rendering square-roots. Commented but included within is a version with inline SVG's (currently not supported by MediaWiki, as it seems), and the root template from the OEIS wiki. The former will work with arbitrarily-sized contents (such as fractions with {{frac}}), the latter will work if we import everything from the OEIS (which is probably not desirable, if we).
The non-commented one, used currently, works for standard-height text (√2) and while monospaced (√2), but not in fractions (√23, √23).
The optional second parameter allows different-order roots to be specified, such as 3√2 (3√2).