查看“︁Template:Tmath/doc”︁的源代码
←
Template:Tmath/doc
跳转到导航
跳转到搜索
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{^|缺乏中文说明}} {{NoteTA|G1=MediaWiki}}{{Documentation subpage}}<!-- 在本行下編輯模板說明 --> 使用[[WP:PF|解析器函數]]<syntaxhighlight lang=wikitext inline>{{#tag:}}</syntaxhighlight>將用[[TeX]]程式碼編寫的[[數學表達式]]包裝在<syntaxhighlight lang=wikitext inline><math></math></syntaxhighlight>([[help:MATH|數學公式]])標記中。 == 使用方法 == 語法: :{{tlxi|tmath|數學表達式}} ===範例=== *{{tlc|tmath|a}} →「{{tmath|a}}」 *{{tlc|tmath|\pi}} →「{{tmath|\pi}}」 *{{tlc|tmath|x_0}} →「{{tmath|x_0}}」 此模板的主要用途是用於表達非常短的表達式,例如變數或簡單算式(如{{tmath|1+1}})。 對於包含必須轉義的特殊符號的方程式或其他表達式來說使用起來較為複雜(某些符號需要轉義或用一些方法防止其被提前解析): *{{tlc|tmath|<nowiki>E{{=}}mc^2</nowiki>}} →「{{tmath|E{{=}}mc^2}}」 *{{tlc|tmath|<nowiki>x {{=}} {{!}} \vec {{(}} x {{)}} {{!}} </nowiki>}} →「{{tmath|x {{=}} {{!}} \vec {{(}} x {{)}} {{!}} }}」 == 參見 == *{{tl|math}}:使用一般html語法的數學公式表達模板 *{{tl|計算結果}}:使用[[Template:複變運算#語法|一般的數學表達式]]表達算式,並且同時在包裝在<syntaxhighlight lang=wikitext inline><math></math></syntaxhighlight>標記中呈現該算式的運算結果 *{{tl|bigmath}} *{{tl|mvar}} {{math templates|notation}} <includeonly>{{Sandbox other||<!-- 本行下加入模板的分類 --> [[Category:数学格式模板]] }}</includeonly>
该页面使用的模板:
Template:Documentation subpage
(
查看源代码
)
Template:Math templates
(
查看源代码
)
Template:NoteTA
(
查看源代码
)
Template:Tl
(
查看源代码
)
Template:Tlc
(
查看源代码
)
Template:Tlxi
(
查看源代码
)
Template:Tmath
(
查看源代码
)
Template:^
(
查看源代码
)
返回
Template:Tmath/doc
。
导航菜单
个人工具
登录
命名空间
模板
讨论
不转换
查看
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
MediaWiki帮助
特殊页面
工具
链入页面
相关更改
页面信息