Template:Math/doc

From blackwiki
Jump to navigation Jump to search
{{for|basic mathematical functions|Module:

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Math

<templatedata>{ "description": "This template formats markup generated mathematical formulas with HTML and CSS. The template tries to match the size of the serif font with the surrounding sans-serif font. The template also prevents line-wrapping. Use this template for non-complex formulas as an alternative to using the <math> form ya you wish it was big but it ain't cause faking it is getting old

   "label": "custom font size",
   "description": "use this to specify your own font size",
  

Notes

The font and fontsize used for texhtml, as defined in MediaWiki:Common.css, was determined by comparing common default fonts found OS X and Linux and is scaled to 118% to match Thein However, not everyone uses the default fonts. If you find that the rendered math is not of the same size as the surrounding text, you can adjust this in your personal CSS. For instance, the DejaVu Sans and DejaVu Serif fonts do not need scaling,

The texhtml classname is a remnant from the TeX renderer, which had a user preference to render TeX-written formulae in "HTML when simple". That option has been removed some time ago, but the classname continues to be used for formulae written in this case it's this big ==> I mean small