Template:Math templates: Difference between revisions

From Lojban
Jump to navigation Jump to search
m (1 revision)
 
m (1 revision imported)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Navbox with collapsible groups
{{Navbox with collapsible groups
| name = Math templates
| name = Math templates
| state = {{{state<includeonly>|expanded</includeonly>}}}
| state = {{{state|expanded}}}
| bodyclass = hlist
| bodyclass = plainlist
| title = Math templates
| title = Math templates
| selected = {{{1|}}}
| liststyle = font-size:110%;<!--(as some templates' descriptions include links)-->
| selected = {{{selected|{{{expanded|{{{1|}}}}}}}}}


| group1 = Functions
<!-------------- Functions / Numeral systems -------------->
| abbr1 = functions
| abbr1 = FN
| group1 = {{hlist|Functions|Numeral systems}}
| list1 =
| list1 =
*{{tl|addition}}
{{Navbox |child |listclass=hlist
*{{tl|elementary arithmetic}}
  | group1 = Functions
*{{tl|precision}}
  | list1 =
*{{tl|precision1}}
*{{tlbare|elementary arithmetic}}
*{{tl|value}}
*{{tlbare|precision}}
*{{tlbare|precision1}}
*{{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 ---------------------->
| abbr2 = conversion
| abbr2 = conversions
| group2 = Conversions
| list2 =
| list2 =
*{{Tl|bbl to t}}
{{Aligned table
**barrel of oil to tonnes
  |style=margin:0 auto 0;text-align:left;
*{{tl|convert}}
  | {{Aligned table
*{{Tl|convert/scale}}
    |style=padding-right:2.5em;
**for converting any linearly related units
    |col1style=text-align:right;white-space:nowrap;padding-right:1.0em;
*{{Tl|convert/CwtQtrLb to kg}}
    |col2style=font-size:90%;<!--(see liststyle above)--> vertical-align:middle;line-height:1.3em;font-style:italic;
**long hundred weights, quarters and pounds to kilograms
    | {{tlbare|bbl to t}}     | barrels of oil to tonnes
*{{tl|convert/TonCwt to t}}
    | {{tlbare|convert}}       |
**long tons and hundredweights to pounds and metric tonnes
    | {{tlbare|convert/scale}} | to convert any linearly related units
*{{Tl|convinfobox}}
    | {{tlbare|long ton}}     | long hundredweights, quarters and pounds to kilograms;<br/>long tons and hundredweights to pounds and metric tonnes
**for use in infoboxes
    | {{tlbare|convinfobox}}   | for use in infoboxes
*{{Tl|decdeg}}
    }}
**degrees, minutes and seconds to [[decimal degrees]]
  | {{Aligned table
*{{Tl|HMS2Deg}}
    |col1style=text-align:right;white-space:nowrap;padding-right:1.0em;
**[[hour angle]]s, given in hours, minutes and seconds, to decimal degrees
    |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|hms2deg}}       | [[hour angle]] (in hours, minutes, and seconds) to decimal degrees
*{{Tl|miles-chains}}
    | {{tlbare|deg2hms}}      | decimal degrees to [[hour angle]] (in hours, minutes, and seconds)
**miles and chains to kilometres linking "chains"
    | {{tlbare|inflation}}     | to calculate inflation of Consumer Price Index-related prices
*{{Tl|pop density}}
    | {{tlbare|miles-chains}} | miles and chains to kilometres linking "chains"
**population & area to a density
    | {{tlbare|pop density}}   | density of a population in an area
*{{Tl|railGauge}}
    | {{tlbare|track gauge}}   | railway track gauges
**rail (track) gauges
    }}
}}


| group3 = Numeral systems
<!----------------------- Notation ------------------------>
| abbr3 = numeral systems
| group3 = Notation
| abbr3 = notation
| list3 =
| list3 =
*{{tl|base 36}}
{{Aligned table
*{{tl|binary}}
  |style=margin:0 auto 0;text-align:left;
*{{tl|dec2hex}}
  | {{Aligned table
*{{tl|decimal2Base}}
    |style=padding-right:2.5em;
*{{tl|duodecimal}}
    |col1style=text-align:right;white-space:nowrap;padding-right:1.0em;
*{{tl|hex2dec}}
    |col2style=font-size:90%;<!--(as above)--> vertical-align:middle;line-height:1.3em;font-style:italic;
*{{tl|hexadecimal}}
    | {{tlbare|bigmath}} | for stand-alone formulas, using a bigger font to match PNG-rendered {{noitalic|[[TeX|{{TeX}}]]}} formulas
*{{tl|octal}}
    | {{hlist|{{tlbare|bra-ket}}|{{tlbare|braket}}}} {{hlist|{{tlbare|bra}}|{{tlbare|ket}}}} | [[bra–ket notation]]
*{{tl|quaternary numeral system}}
    | {{tlbare|frac}}   |
*{{tl|quinary}}
    | {{tlbare|intmath}} | [[integral symbol]]s
*{{Tl|rn}}
    | {{hlist|{{tlbare|langle}}|{{tlbare|rangle}}}} | [[angular bracket]]s
*{{tl|roman}}
    | {{hlist|{{tlbare|ldelim}}|{{tlbare|rdelim}}}} | multiline delimiters (2-5 lines inclusive)
*{{tl|senary}}
    | {{tlbare|math}}   |
*{{tl|ternary}}
    | {{tlbare|mathcal}} |
*{{tl|vigesimal}}
    }}
  | {{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|overset}}|{{tlbare|underset}}}} | arbitrary characters/diacritics set above/below one another
    | {{tlbare|radic}}   |
    | {{tlbare|sfrac}}   |
    | {{tlbare|sqrt}}   |
    | {{hlist|{{tlbare|su}}|{{tlbare|sub}}|{{tlbare|sup}}}} |


| group4 = Notation
    |style7.1=vertical-align:middle;text-align:right;padding-right:1.0em;| {{tlbare|tmath}}
| abbr4 = notation
    | wraps a {{noitalic|{{TeX}}}} math expression in {{noitalic|<nowiki><math></nowiki>}} tags
| list4 =
*{{tl|bigmath}}
**for stand-alone formulas, using a bigger font to match PNG rendered TeX formulas
*{{tl|bra-ket}}, {{tl|braket}}, {{tl|bra}}, {{tl|ket}} for [[bra–ket notation]]
*{{tl|frac}}
*{{tl|intmath}}
**for [[integral symbol]]s
*{{tl|langle}} and {{tl|rangle}}
**for [[bracket#Bracket#Angle brackets or chevrons .E2.9F.A8 .E2.9F.A9|angular bracket]]s
*{{tl|ldelim}} and {{tl|rdelim}}
**for multiline delimiters (2-5 lines inclusive)
*{{tl|math}}
*{{tl|mathcal}}
*{{tl|mvar}}
**a short form to refer to individual italicized maths variables in normal text
*{{tl|overset}} and {{tl|underset}}
**for arbitrary characters and diacritics set above or below one another
*{{tl|radic}}
*{{tl|sfrac}}
*{{tl|sqrt}}
*{{tl|su}}
*{{tl|sub}}
*{{tl|sup}}
*{{tl|tmath}}
**wraps a [[TeX|{{TeX}}]] math expression in <code>&lt;math></code> tags
*{{tl|val}}
*{{tl|vec}}
**for various overarrows, underarrows, pointing left, right or both ways


| group5 = Boxes
    | {{tlbare|val}}     |
| abbr5 = boxes
    | {{tlbare|vec}}     | for various overarrows, underarrows, pointing left, right or both ways
| list5 =
    }}
*{{tl|calculation results}}
}}
*{{tl|calculus}}
*{{tl|Infobox mathematics function}}
*{{tl|functions}}


| group6 = Tags
<!---------------- Boxes / Tags / Notices ----------------->
| abbr6 = tags
| abbr4 = BTN
| list6 =
| group4 = {{hlist|Boxes|Tags|Notices}}
*{{Tl|metricate}}
| list4 =
*{{tl|undue precision}}
{{Navbox with columns |child
*{{tl|units attention}}
  |colstyle=text-align:center;
 
  | col1header = Boxes
| group7 = Other
  | col1 = {{startflatlist}}
| abbr7 = other
*{{tlbare|calculation results}}
| list7 =
*{{tlbare|calculus}}
*{{tl|calculation}}
*{{tlbare|Infobox mathematics function}}
*{{tlbare|functions}}
{{endflatlist}}
  | col2header = Tags
  | col2 = {{startflatlist}}
*{{tlbare|metricate}}
*{{tlbare|undue precision}}
*{{tlbare|units attention}}
{{endflatlist}}
  | col3header = Notices
  | col3 = {{startflatlist}}
*{{tlbare|calculation}}
{{endflatlist}}
}}


| belowstyle = font-weight:bold;
| belowstyle = font-weight:bold;
| below =
| below = {{c|icon|Mathematics templates|Category}}
{{icon|Category}} [[:Category:Mathematics templates|Category]]


}}<noinclude>{{Documentation}}</noinclude>
}}<noinclude>{{Documentation}}</noinclude>

Latest revision as of 09:20, 19 December 2014

Documentation icon Template documentation[create]