Home  

Random  

Nearby  



Log in  



Settings  



Donate  



About Wikipedia  

Disclaimers  



Wikipedia





Template:Tmath





Template  

Talk  



Language  

Watch  

View source  





It further helps to avoid wrapping points at either end of expression that normally occurs with <math>...</math>, so avoiding being split from punctuation as would be normal for text.

Neither display="inline" nor TeX math mode \textstyle is set by this template.

Usage

{{tmath|expression}}

Examples

The template is intended to be used for short LaTeX mathematical expressions like variables, and is useful for limiting awkward wrapping points. It is more cumbersome to use for equations or other expressions containing special signs that must be escaped or replaced, like the equal sign = with {{=}} and the vertical pipe | with \vert, \midor{{!}}, and \| with \Vert:

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.

Uniform compatible formatting guideline

When converting between <math>...</math> and {{tmath|...}}, first adjusting the expression to be compatible with both can help. A guideline for such formatting is:

See also


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Tmath&oldid=1234073114"
 



Last edited on 12 July 2024, at 12:52  


Languages

 


العربية
Беларуская
Dansk
فارسی
Galego
Bahasa Indonesia
Português
Română
Српски / srpski
Svenska
 

Türkçe
Українська
Tiếng Vit

 

Wikipedia


This page was last edited on 12 July 2024, at 12:52 (UTC).

Content is available under CC BY-SA 4.0 unless otherwise noted.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Terms of Use

Desktop