Template:Math templates: Difference between revisions

m
1 revision imported from wikipedia:Template:Math_templates
m (1 revision imported)
m (1 revision imported from wikipedia:Template:Math_templates)
 
(One intermediate revision by one other user not shown)
Line 1:
<!-- This template uses British English. -->
{{Navbox with collapsible groups
| name = Math templates
Line 10 ⟶ 11:
| abbr1 = FN
| group1 = {{hlist|Functions|Numeral systems}}
| state1 = <noinclude>expanded</noinclude>
| list1 =
{{Navbox |child |listclass=hlist
Line 16 ⟶ 18:
*{{tlbare|elementary arithmetic}}
*{{tlbare|precision}}
*{{tlbare|valueval}}&nbsp;(value)
| group2 = Numeral systems
| list2 =
*{{ml|BaseConvert|''X''to''Y''}}
*{{tlbare|base 36}}
*{{tlbare|binary}}
*{{tlbare|dec2hex}}
*{{tlbare|decimal2Base}}
*{{tlbare|duodecimal}}
*{{tlbare|hex2dec}}
*{{tlbare|hexadecimal}}
Line 39:
| abbr2 = conversions
| group2 = Conversions
| state2 = <noinclude>expanded</noinclude>
| list2 =
{{Aligned table
Line 46 ⟶ 47:
|col1style=text-align:right;white-space:nowrap;padding-right:1.0em;
|col2style=font-size:90%;<!--(see liststyle above)--> vertical-align:middle;line-height:1.3em;font-style:italic;
| {{tlbare|bbl to t}} | barrels of oil to tonnes
| {{tlbare|convert}} | many units (see: [[Template:Convert/list_of_units |list]])
| {{tlbare|cvt}} | many units; abbreviated {{tl|convert}}
| {{tlbare|convinfobox}} | {{tl|convert}} for infoboxes
| {{tlbare|long ton}} | long hundredweights, quarters and pounds to kilograms;<br/>long tons and hundredweights to pounds and metric tonnes
| {{tlbare|convinfoboxbbl to t}} | forbarrels of useoil into infoboxestonnes
| {{tlbare|decdeglong ton}} | degrees,long minuteshundredweights, quarters and secondspounds to [[decimalkilograms;<br/>long tons and hundredweights to pounds and metric degrees]]tons
| {{tlbare|miles-chains}} | miles and chains to kilometres linking "chains"
}}
| {{Aligned table
|col1style=text-align:right;white-space:nowrap;padding-right:1.0em;
|col2style=font-size:90%;<!--(as above)--> vertical-align:middle;line-height:1.3em;font-style:italic;
| {{tlbare|hms2degdecdeg}} | [[hour angle]] (in| hoursdegrees, minutes, and seconds) to [[decimal degrees]]
| {{tlbare|deg2DMS|deg2dms}} | decimal degrees to degrees, minutes, and seconds
| {{tlbare|deg2HMS|deg2hms}} | decimal degrees to [[hour angle]] (in hours, minutes, and seconds)
| {{tlbare|inflationHMS2Deg|hms2deg}} | [[hour angle]] (in |hours, tominutes, calculateand inflationseconds) of Consumer Priceto Index-relateddecimal pricesdegrees
| {{tlbare|miles-chainsinflation}} | milescalculate andinflation chainsof toConsumer kilometresPrice linkingIndex-related "chains"prices
| {{tlbare|pop density}} | density of a| population density in an area
| {{tlbare|track gauge}} | railway track gauges
}}
}}
 
<!----------------------- Notation & formatting ------------------------>
| group3 = Notation and {{Category link|Mathematical formatting templates|formatting}}
| abbr3 = notation
| state3 = <noinclude>expanded</noinclude>
| list3 =
{{Aligned table
Line 76 ⟶ 78:
|col1style=text-align:right;white-space:nowrap;padding-right:1.0em;
|col2style=font-size:90%;<!--(as above)--> vertical-align:middle;line-height:1.3em;font-style:italic;
| {{tlbare|bigmath}} | for stand-alone formulas, using a bigger font to match {{noitalic|[[TeX]]}} {{noitalic|<ttsamp><nowiki>\</nowiki>displaystyle</ttsamp>}} PNG-rendered(standalone {{noitalic|[[TeX]]}}formulas formulasonly)
| {{hlist|{{tlbare|bra-ket}}|{{tlbare|braket}}}} {{hlist|{{tlbare|bra}}|{{tlbare|ket}}}} | [[bra–ket notation]]
| {{tlbare|ceil}}, {{tlbare|floor}} | calculations [[:mw:Help:Extension:ParserFunctions##expr|:mw:Help:#expr]]; formatting indicators {{noitalic|1={{ceil|3.14}}}}, {{noitalic|1={{floor|3.14}}}} (no calculation performed)
| {{tlbare|fracfraction}} | for creatingslant fractions {{frac|3|5}} (not for use in maths/science or mathematical articles; instead, use ''standing'' or upright fractions {{noitalic|{{tlx|sfrac}}}} instead)
| {{tlbare|intmath}} | [[integral symbol]]s
| {{hlist|{{tlbare|langle}}|{{tlbare|rangle}}|{{tlbare|Angle bracket|angbr}}}} | [[Bracket#Angular brackets|angular bracket]]s
| {{hlist|{{tlbare|ldelim}}|{{tlbare|rdelim}}}} | multiline delimiters (2–5 lines inclusive)
| {{tlbare|abs}} | absolute values (paired vertical lines)
| {{tlbare|math}} | for inline formulas, to get a better matching font size and vertical alignment than with {{noitalic|<tt><nowiki>\</nowiki>textstyle</tt>}} (or the {{noitalic|<tt><nowiki>\</nowiki>scriptstyle</tt>}} kludge) PNG-rendered {{noitalic|[[TeX]]}} formulas
| {{tlbare|math}} | short text-based formulas
| {{tlbare|mathcal}} | [mathematical] calligraphic font for use in mathematical formulas, as an; alternative to {{noitalic|[[LaTeX]]}} {{noitalic|<ttsamp><nowiki>\</nowiki>mathcal{...}</ttsamp>}} in {{noitalic|[[LaTeX]]}} markup
}}
| {{Aligned table
|col1style=text-align:right;white-space:nowrap;padding-right:1.0em;
|col2style=font-size:90%;<!--(as above)--> vertical-align:middle;line-height:1.3em;font-style:italic;
| {{tlbare|mvar}} | a short form to refer to individual italicized maths variables in normal text
| {{hlist|{{tlbare|overline}}|{{tlbare|underline}}}} | a line set above/below a sequence of characters
| {{tlbare|overarc}} | an arc set above a sequence of characters
| {{hlist|{{tlbare|overset}}|{{tlbare|underset}}}} | arbitrary characters/diacritics set above/below one another
| {{tlbare|radicpars}} | parentheses that can be resized {{noitalic|1={{math|{{pars|s=150|{{large|∑}}}}}}}}
| {{tlbare|sfrac}} | for"standing" creatingor upright fractions {{sfrac|3|5}} (this template should be useduse in maths/science or mathematical articles instead of {{noitalic|{{tlx|fracfraction}}}})
| {{hlist|{{tlbare|sqrtsub}}|{{tlbare|sup}}|{{tlbare|su}}}} | subscripts and | superscripts
| {{hlist|{{tlbare|su}}|{{tlbare|sub}}|{{tlbare|sup}}}} |
 
|style7.1=vertical-align:middle;text-align:right;padding-right:1.0em;| {{tlbare|tmath}}
| wraps aWrap {{noitalic|[[TeX]]}} math expression in {{noitalic|<nowiki><math></nowiki>}} tags
| {{tlbare|tombstone}} | symbol indicating the [[Tombstone (typography)|end of a proof]]
 
| {{tlbare|val}} | to report measurement values, uncertainties and units
| {{tlbare|vec}} | for various overarrows, underarrows, etc.<!--pointing left, right or both ways-->
}}
}}
Line 106 ⟶ 110:
| abbr4 = BTN
| group4 = {{hlist|Boxes|Tags|Notices}}
| state4 = <noinclude>expanded</noinclude>
| list4 =
{{Navbox with columns |child
Line 111 ⟶ 116:
| col1header = Boxes
| col1 = {{startflatlist}}
*{{tlbare|calculationarithmetic resultsoperations}}
*{{tlbare|calculus}}
*{{tlbare|Infobox mathematicsmathematical function}}
*{{tlbare|functions}}
{{endflatlist}}
Line 121 ⟶ 126:
*{{tlbare|undue precision}}
*{{tlbare|units attention}}
{{endflatlist}}
{{endflatlist}}
}}
 
| below = {{icon|Category}} {{c|Mathematics templates|Category}}{{dot}}[[:Module:Math]]
| belowstyle = font-weight:bold;
 
| below = {{icon|Category}} {{c|Mathematics templates|Category}}
}}<noinclude>{{Documentation}}</noinclude>
{{Documentation}}
</noinclude>