Bản mẫu:Tmath/doc
Bước tới điều hướng
Bước tới tìm kiếm
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.
Cách sử dụng
Các ví dụ
- Bản mẫu:Tlc đưa ra Bản mẫu:Tmath
- Bản mẫu:Tlc đưa ra Bản mẫu:Tmath
- Bản mẫu:Tlc đưa ra Bản mẫu:Tmath
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 Bản mẫu:Tl and the vertical pipe | with Bản mẫu:Tl:
- Bản mẫu:Tlc đưa ra Bản mẫu:Tmath
- Bản mẫu:Tlc đưa ra Bản mẫu:Tmath
Sử dụng dấu ngoặc { và } với cẩn thận
Apart from using the Bản mẫu:Tl and Bản mẫu:Tl 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.
- Bản mẫu:Tlc đưa ra Bản mẫu:Tmath
- Bản mẫu:Tlc parses (you added that space!) to Bản mẫu:Tmath
- Bản mẫu:Tlc fails to parse (you forgot that space!)
- Bản mẫu:Tlc parses (you added all those spaces!) to Bản mẫu:Tmath
- Bản mẫu:Tlc fails to parse (you forgot some of those spaces!)
Xem thêm