Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  



1.1  Examples  





1.2  Use braces { and } with caution  





1.3  Uniform compatible formatting guideline  







2 See also  














Template:Tmath






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

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

 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


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"

Categories: 
Mathematical formatting templates
Formatting templates using math tag
Hidden categories: 
Wikipedia semi-protected templates
Templates with math errors
Articles with math render errors
 



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

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki