Difference between revisions of "Template:Delta"

From blackwiki
Jump to navigation Jump to search
imported>Cmprince
(wrap in texhtml, being bold: this appears to be common display in geophysical contexts (where now most used), commonality to other greek templates like {{pi}} and {{tau}}, and looks better in mathematical contexts; <50 transclusions)
imported>Mike Christie
(Add support for single parameter, e.g. deuterium (D))
 
Line 4: Line 4:
 
-->|<!-- two parameters --><span class="texhtml">&delta;</span><sup>{{{1}}}</sup>{{{2}}}<sub>{{{sub|}}}</sub><!--  
 
-->|<!-- two parameters --><span class="texhtml">&delta;</span><sup>{{{1}}}</sup>{{{2}}}<sub>{{{sub|}}}</sub><!--  
 
-->|{{#if:{{{1|}}}<!--  
 
-->|{{#if:{{{1|}}}<!--  
-->|<!-- only one parameter --><!--  
+
-->|<!-- only one parameter --><span class="texhtml">&delta;</span>{{{1}}}<!--  
 
-->|<!-- zero parameters --><span class="texhtml">&delta;</span><!--  
 
-->|<!-- zero parameters --><span class="texhtml">&delta;</span><!--  
 
-->}}<!--  
 
-->}}<!--  

Latest revision as of 21:42, 25 May 2017


Template documentation[view] [edit] [history] [purge]

Usage

  • {{delta}} → δ
  • {{delta|13|C}} → δ13C
  • {{delta|18|O|Link}} → δ18O
  • {{delta|13|C|sub=organic}} → δ13Corganic