Template:Math templates: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Hyacinth
m ({{{Other|}}})
m (87 revisions imported)
 
(67 intermediate revisions by 25 users not shown)
Line 1: Line 1:
<!-- This template uses British English. -->
{{Navbox with collapsible groups
{{Navbox with collapsible groups
|name = Math templates
| name = Math templates
|state = {{{state<includeonly>|autocollapse</includeonly>}}}
| state = {{{state|expanded}}}
|title = Math templates
| bodyclass = plainlist
|bodyclass = hlist
| title = Math templates
| liststyle = font-size:110%;<!--(as some templates' descriptions include links)-->
| selected = {{{selected|{{{expanded|{{{1|}}}}}}}}}


|group1 = Functions
<!-------------- Functions / Numeral systems -------------->
|state1 =  
| abbr1 = FN
|list1 = {{{Functions|}}}
| group1 = {{hlist|Functions|Numeral systems}}
*{{tl|Addition}}
| state1 = <noinclude>expanded</noinclude>
*{{tl|Elementary arithmetic}}
| list1 =
*{{tl|Precision}}
{{Navbox |child |listclass=hlist
*{{tl|Precision1}}
  | group1 = Functions
*{{tl|Value}}
  | list1 =
*{{tlbare|elementary arithmetic}}
*{{tlbare|precision}}
*{{tlbare|value}}
  | group2 = Numeral systems
  | list2 =
*{{tlbare|base 36}}
*{{tlbare|binary}}
*{{tlbare|dec2hex}}
*{{tlbare|decimal2Base}}
*{{tlbare|duodecimal}}
*{{tlbare|hex2dec}}
*{{tlbare|hexadecimal}}
*{{tlbare|octal}}
*{{tlbare|quaternary}}
*{{tlbare|quinary}}
*{{tlbare|rn}}
*{{tlbare|roman}}
*{{tlbare|senary}}
*{{tlbare|ternary}}
*{{tlbare|vigesimal}}
}}


|group2 = Conversion
<!---------------------- Conversions ---------------------->
|state2 = {{{Conversion|}}}
| abbr2 = conversions
|list2 =
| group2 = Conversions
*{{tl|Convert}}
| state2 = <noinclude>expanded</noinclude>
*{{Tl|Convert/scale}}
| list2 =
**for converting any linearly related units
{{Aligned table
*{{Tl|Convert/spell}}
  |style=margin:0 auto 0;text-align:left;
**to display a converted amount spelled in words
  | {{Aligned table
*{{Tl|Convinfobox}}
    |style=padding-right:2.5em;
**for use in infoboxes
    |col1style=text-align:right;white-space:nowrap;padding-right:1.0em;
*{{Tl|Bbl to t}}
    |col2style=font-size:90%;<!--(see liststyle above)--> vertical-align:middle;line-height:1.3em;font-style:italic;
**barrel of oil to tonnes
    | {{tlbare|convert}}      | many units (see: [[Template:Convert/list_of_units |list]])
*{{Tl|CwtQtrLb to kg}}
    | {{tlbare|cvt}}           | abbreviated {{tl|convert}}
**long hundred weights, quarters and pounds into kilograms
    | {{tlbare|convinfobox}}   | {{tl|convert}} for infoboxes
*{{Tl|Decdeg}}
    | {{tlbare|bbl to t}}     | barrels of oil to tonnes
**degrees, minutes and seconds to [[decimal degrees]]
    | {{tlbare|long ton}}     | long hundredweights, quarters and pounds to kilograms;<br/>long tons and hundredweights to pounds and metric tons
*{{Tl|HMS2Deg}}
    | {{tlbare|miles-chains}}  | miles and chains to kilometres linking "chains"
**[[hour angle]]s, given in hours, minutes and seconds, to decimal degrees
    | {{tlbare|rndfrac}}       | decimals to fractions
*{{Tl|Miles-chains}}
  }}
**miles and chains to kilometres linking "chains"
  | {{Aligned table
*{{Tl|Pop density}}
    |col1style=text-align:right;white-space:nowrap;padding-right:1.0em;
**population & area to a density
    |col2style=font-size:90%;<!--(as above)--> vertical-align:middle;line-height:1.3em;font-style:italic;
*{{Tl|Inflation}}
    | {{tlbare|decdeg}}          | degrees, minutes, and seconds to [[decimal degrees]]
**to calculate inflation of Consumer Price Index related prices
    | {{tlbare|deg2DMS|deg2dms}} | decimal degrees to degrees, minutes, and seconds
*{{Tl|Metricate}}
    | {{tlbare|deg2HMS|deg2hms}} | decimal degrees to [[hour angle]] (in hours, minutes, and seconds)
*{{Tl|RailGauge}}
    | {{tlbare|HMS2Deg|hms2deg}} | [[hour angle]] (in hours, minutes, and seconds) to decimal degrees
**rail (track) gauges
    | {{tlbare|inflation}}       | calculate inflation of Consumer Price Index-related prices
    | {{tlbare|pop density}}     | population density in an area
    | {{tlbare|track gauge}}     | railway track gauges
    }}
}}


|group3 = Numeral<br/>systems
<!----------------------- Notation & formatting ------------------------>
|state3 = {{{Numeral systems|}}}
| group3 = Notation and {{Category link|Mathematical formatting templates|formatting}}
|list3 =  
| abbr3 = notation
*{{tl|Base 36}}
| state3 = <noinclude>expanded</noinclude>
*{{tl|Roman}}
| list3 =
*{{tl|Binary}}
{{Aligned table
*{{tl|Ternary}}
  |style=margin:0 auto 0;text-align:left;
*{{tl|Quaternary numeral system}}
  | {{Aligned table
*{{tl|Octal}}
    |style=padding-right:2.5em;
*{{tl|Duodecimal}}
    |col1style=text-align:right;white-space:nowrap;padding-right:1.0em;
*{{tl|Hexadecimal}}
    |col2style=font-size:90%;<!--(as above)--> vertical-align:middle;line-height:1.3em;font-style:italic;
*{{tl|Vigesimal}}
    | {{tlbare|bigmath}} | bigger font to match {{noitalic|[[TeX]]}} {{noitalic|<samp><nowiki>\</nowiki>displaystyle</samp>}} (standalone formulas only)
    | {{hlist|{{tlbare|bra-ket}}|{{tlbare|braket}}|{{tlbare|bra}}|{{tlbare|ket}}}} | [[bra–ket notation]]
    | {{tlbare|ceil}}, {{tlbare|floor}}  | indicators {{noitalic|1={{ceil|3.14}}}}, {{noitalic|1={{floor|3.14}}}} (no calculation performed)
    | {{tlbare|frac}}    | fractions {{frac|3|5}}  (not for maths/science articles; use {{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|mabs}}    | absolute values (paired vertical lines)
    | {{tlbare|math}}    | short inline formulas
    | {{tlbare|mathcal}} | [mathematical] calligraphic font; alternative to {{noitalic|[[LaTeX]]}}  {{noitalic|<samp><nowiki>\</nowiki>mathcal{...}</samp>}}
    }}
  | {{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}}    | individual italicized maths variables in normal text
    | {{hlist|{{tlbare|overline}}|{{tlbare|underline}}}} | a line set above/below a sequence of characters
    | {{hlist|{{tlbare|overset}}|{{tlbare|underset}}}} | arbitrary characters/diacritics set above/below one another
    | {{tlbare|pars}}    | parentheses that can be resized {{noitalic|1={{math|{{pars|s=150|{{large|∑}}}}}}}}
    | {{tlbare|radic}}  | radicals {{radic|2}}
    | {{tlbare|sfrac}}  | fractions {{sfrac|3|5}} (use in maths/science articles instead of {{noitalic|{{tlx|frac}}}})
    | {{hlist|{{tlbare|sub}}|{{tlbare|sup}}|{{tlbare|su}}}} | subscripts and superscripts
    |style7.1=vertical-align:middle;text-align:right;padding-right:1.0em;| {{tlbare|tmath}}
    | Wrap {{noitalic|[[TeX]]}} in {{noitalic|<nowiki><math></nowiki>}} tags
    | {{tlbare|tombstone}} | symbol indicating the [[Tombstone (typography)|end of a proof]]
    | {{tlbare|val}}     | measurement values, uncertainties and units
    | {{tlbare|vec}}    | various overarrows, underarrows, etc.<!--pointing left, right or both ways-->
    }}
}}


|group4 = Notation
<!---------------- Boxes / Tags / Notices ----------------->
|state4 = {{{Notation|}}}
| abbr4 = BTN
|list4 =  
| group4 = {{hlist|Boxes|Tags|Notices}}
*{{tl|bigmath}}
| state4 = <noinclude>expanded</noinclude>
**for stand-alone formulas, using a bigger font to match PNG rendered TeX formulas
| list4 =
*{{tl|bra-ket}}, {{tl|bra}}, {{tl|ket}}, {{tl|braket}} for [[bra–ket notation]]
{{Navbox with columns |child
*{{tl|drndbracket}} and {{tl|dsqbracket}}
  |colstyle=text-align:center;
**for two-line round or square brackets (only two lines, no more or less)
  | col1header = Boxes
*{{tl|intmath}}
  | col1 = {{startflatlist}}
**for [[integral symbol]]s
*{{tlbare|calculation results}}
*{{tl|langle}} and {{tl|rangle}}
*{{tlbare|calculus}}
**for [[bracket#Bracket#Angle brackets or chevrons .E2.9F.A8 .E2.9F.A9|angular bracket]]s
*{{tlbare|Infobox mathematics function}}
*{{tl|ldelim}} and {{tl|rdelim}}
*{{tlbare|functions}}
**for multiline delimiters (2-5 lines inclusive)
{{endflatlist}}
*{{tl|Math}}
  | col2header = Tags
*{{tl|Mathcal}}
  | col2 = {{startflatlist}}
*{{tl|mvar}}
*{{tlbare|metricate}}
**a short form to refer to individual italicized maths variables in normal text
*{{tlbare|undue precision}}
*{{tl|overset}} and {{tl|underset}}
*{{tlbare|units attention}}
**for arbitrary characters and diacritics set above or below one another
{{endflatlist}}
*{{tl|tmath}}
}}
**wraps a [[TeX|{{TeX}}]] math expression in <code>&lt;math></code> tags
*{{tl|vec}}
**for various overarrows, underarrows, pointing left, right or both ways


|group5= Boxes
| below = {{icon|Category}} {{c|Mathematics templates|Category}}{{dot}}[[:Module:Math]]
|state5 = {{{Boxes|}}}
|list5 =
*{{tl|Calculus}}
*{{tl|Calculation results}}
*{{tl|Function}}


|group6= Tags
|state6 = {{{Tags|}}}
|list6 =
*{{tl|Undue precision}}
|group7= Other
|state7 = {{{Other|}}}
|list7 =
*{{tl|Calculation}}
|below = '''[[:Category:Mathematics templates|Category]]'''
}}<noinclude>
}}<noinclude>
{{doc|content=
{{Documentation}}
==Usage==
This template is intended to provide a consistent "See also" for math templates.
[[Category:See also templates]]
}}
</noinclude>
</noinclude>

Latest revision as of 13:20, 3 September 2020