ထႅမ်းပလဵတ်ႉ:Tmath
Appearance
Wraps a math expression written in TeX code in <math>...</math>
tags using the {{#tag:}}
parser function extension. Intended to be used for very short expressions like variables.
Neither display="inline"
nor TeX math mode textstyle is set by this template.
လွင်ႈၸႂ်ႉတိုဝ်း
[မႄးထတ်းငဝ်ႈငႃႇ]{{tmath|expression}}
တူဝ်ယၢင်ႇ
[မႄးထတ်းငဝ်ႈငႃႇ]{{tmath|a}}
gives
{{tmath|\pi}}
gives
{{tmath|x_0}}
gives
The template is intended to be used for very short LaTeX mathematical expressions like variables. It is more cumbersome to use for equations or other expressions containing special signs that have to be escaped, like the equal sign =
with {{=}}
and the vertical pipe |
with {{!}}
:
{{tmath|E {{=}} mc^2}}
gives
{{tmath|x {{=}} {{!}} \vec x {{!}} }}
gives
Use braces { and } with caution
[မႄးထတ်းငဝ်ႈငႃႇ]Apart from using the {{(}}
and {{)}}
templates to get {
and }
, you may use the braces {
and }
as long as {
is not preceded or followed by another {
, and }
is not preceded or followed by another }
, e.g.
{{tmath|x {{=}} {{!}} \vec{x} {{!}} }}
gives
{{tmath|\zeta(2) {{=}} \frac{\pi^2}{6} }}
parses (you added that space!) to
{{tmath|\zeta(2) {{=}} \frac{\pi^2}{6}}}
fails to parse (you forgot that space!), v.g. Failed to parse (syntax error): {\displaystyle \zeta(2) = \frac{\pi^2}{6} }
{{tmath|\frac{1}{ x^{2n+1} } }}
parses (you added all those spaces!) to
{{tmath|\frac{1}{x^{2n+1}} }}
fails to parse (you forgot some of those spaces!), v.g. Failed to parse (syntax error): {\displaystyle \frac{1}{x^{2n+1} }}
တူၺ်းပႃး
[မႄးထတ်းငဝ်ႈငႃႇ]
|
ၽိုၼ်ၵႅမ်မိုဝ်းလၢႆးၸႂ်ႉတိုဝ်း (documentation)တီႈၽၢႆႇၼိူဝ်ၼႆႉ လုၵ်ႉတီႈ ထႅမ်းပလဵတ်ႉ:Tmath/doc သေ ၶၢႆႉသႂ်ႇၶဝ်ႈ (ႁဵတ်း transclude ဝႆႉၶႃႈဢေႃႈ။ (မႄးထတ်း | ပိုၼ်း) ၽူႈၸိူဝ်းမႄးထတ်းၶဝ် ၸၢင်ႈၸၢမ်းတူၺ်းလႆႈ ၸိူဝ်းပဵၼ်ၼႃႈလိၵ်ႈ sandbox (သၢင်ႈ | ငဝ်းမိူၼ်) လႄႈ testcases (သၢင်ႈ) ႁင်း ထႅမ်းပလဵတ်ႉဢၼ်ၼႆႉ လႆႈယူႇၶႃႈ။ သႂ်ႇပိူင်ထၢၼ်ႈ ၵႃႈတီႈ ၼႃႈလိၵ်ႈၽႄ /doc လႄႈ။ ၼႃႈလိၵ်ႈၽႄ ႁင်း ထႅမ်းပလဵတ်ႉ ဢၼ်ၼႆႉ။. |