Difference between revisions of "Template:E-sp/doc"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
m (→‎See also: template name update)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 26: Line 26:
 
*{{tl|Sup and sub-related templates}}
 
*{{tl|Sup and sub-related templates}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
[[Category:Mathematical formatting templates]]
 
[[Category:Mathematical formatting templates]]
 
[[Category:Superscript and subscript templates]]
 
[[Category:Superscript and subscript templates]]
</includeonly>
+
}}</includeonly>

Latest revision as of 00:51, 25 April 2020

Usage

{{e-sp}}, a more padded version of {{e}}, is intended to facilitate and make uniform scientific notation numbers.

To render, for example,

3.14 × 10−12

use

3.14{{e-sp|−12}}

instead of

3.14&nbsp;×&nbsp;10<sup>−12</sup>

Note that the parameter is text, not a number; it can include variables that can be italicized, etc. This also means that using a hyphen (-) and a minus sign (−) with negative numbers gives different results: Script error: No such module "aligned table".

See also