Wraps a math expression written in TeX code in <math> tags using the {{#tag:}} parser function. Intended to be used for very short expressions like variables.

{{tmath|expressin}}

  • {{tmath|a}} gives
  • {{tmath|\pi}} gives
  • {{tmath|x_0}} gives

The template is intended to be used for very short expressions like variables. It is more cumbersome to use for equations or other expressions containing special signs that have to be escaped:

  • {{tmath|E{{=}}mc^2}} gives
  • {{tmath|x {{=}} {{!}} \vec {{(}} x {{)}} {{!}} }} gives