<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.statsape.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E6%9D%BF%3ATmath%2Fdoc</id>
	<title>模板:Tmath/doc - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.statsape.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E6%9D%BF%3ATmath%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.statsape.com/index.php?title=%E6%A8%A1%E6%9D%BF:Tmath/doc&amp;action=history"/>
	<updated>2026-05-14T20:27:47Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://wiki.statsape.com/index.php?title=%E6%A8%A1%E6%9D%BF:Tmath/doc&amp;diff=8079&amp;oldid=prev</id>
		<title>2024年1月21日 (日) 15:13 Zeroclanzhang</title>
		<link rel="alternate" type="text/html" href="https://wiki.statsape.com/index.php?title=%E6%A8%A1%E6%9D%BF:Tmath/doc&amp;diff=8079&amp;oldid=prev"/>
		<updated>2024-01-21T15:13:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hans-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2024年1月21日 (日) 23:13的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot;&gt;第2行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第2行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!-- Categories and interwikis go at the bottom of this page. --&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!-- Categories and interwikis go at the bottom of this page. --&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This template wraps a math expression written in [[TeX]] code between &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;&lt;/del&gt;math&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt;&lt;/del&gt;...&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;&lt;/del&gt;/math&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt;&lt;/del&gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; tags using the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#tag:}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; [[WP:PF|parser function]] [[H:MW|magic word]]. It further avoids wrapping points at either end of expression that normally occurs with &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;&lt;/del&gt;math&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt;&lt;/del&gt;...&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;&lt;/del&gt;/math&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt;&lt;/del&gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, so avoiding being split from punctuation as would be normal for text. Intended to be used for very short expressions.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This template wraps a math expression written in [[TeX]] code between &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/ins&gt;math&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/ins&gt;...&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/ins&gt;/math&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/ins&gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; tags using the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#tag:}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; [[WP:PF|parser function]] [[H:MW|magic word]]. It further avoids wrapping points at either end of expression that normally occurs with &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/ins&gt;math&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/ins&gt;...&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/ins&gt;/math&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/ins&gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, so avoiding being split from punctuation as would be normal for text. Intended to be used for very short expressions.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Neither &amp;lt;code&amp;gt;display=&amp;quot;inline&amp;quot;&amp;lt;/code&amp;gt; nor TeX math mode &amp;lt;code&amp;gt;\textstyle&amp;lt;/code&amp;gt; is set by this template.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Neither &amp;lt;code&amp;gt;display=&amp;quot;inline&amp;quot;&amp;lt;/code&amp;gt; nor TeX math mode &amp;lt;code&amp;gt;\textstyle&amp;lt;/code&amp;gt; is set by this template.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Usage ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Usage ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: {{tlxi|tmath|expression}} &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: {{tlxi|tmath|expression}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Examples===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Examples===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l21&quot;&gt;第21行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第21行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Apart from using the &amp;lt;code&amp;gt;{{tl|(}}&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;{{tl|)}}&amp;lt;/code&amp;gt; templates to get &amp;lt;code&amp;gt;{&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;}&amp;lt;/code&amp;gt;, you may use the braces &amp;lt;code&amp;gt;{&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;}&amp;lt;/code&amp;gt; as long as &amp;lt;code&amp;gt;{&amp;lt;/code&amp;gt; is not preceded or followed by another &amp;lt;code&amp;gt;{&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;}&amp;lt;/code&amp;gt; is not preceded or followed by another &amp;lt;code&amp;gt;}&amp;lt;/code&amp;gt;, e.g.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Apart from using the &amp;lt;code&amp;gt;{{tl|(}}&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;{{tl|)}}&amp;lt;/code&amp;gt; templates to get &amp;lt;code&amp;gt;{&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;}&amp;lt;/code&amp;gt;, you may use the braces &amp;lt;code&amp;gt;{&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;}&amp;lt;/code&amp;gt; as long as &amp;lt;code&amp;gt;{&amp;lt;/code&amp;gt; is not preceded or followed by another &amp;lt;code&amp;gt;{&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;}&amp;lt;/code&amp;gt; is not preceded or followed by another &amp;lt;code&amp;gt;}&amp;lt;/code&amp;gt;, e.g.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* {{tlc|tmath|&amp;lt;nowiki&amp;gt;x {{=}} {{!}} \vec{x} {{!}} &amp;lt;/nowiki&amp;gt;}} gives {{tmath|x {{=}} {{!}} \vec{x} {{!}} }} &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* {{tlc|tmath|&amp;lt;nowiki&amp;gt;x {{=}} {{!}} \vec{x} {{!}} &amp;lt;/nowiki&amp;gt;}} gives {{tmath|x {{=}} {{!}} \vec{x} {{!}} }}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* {{tlc|tmath|&amp;lt;nowiki&amp;gt;\zeta(2) {{=}} \frac{\pi^2}{6} &amp;lt;/nowiki&amp;gt;}} parses (you added that space!) to {{tmath|\zeta(2) {{=}} \frac{\pi^2}{6} }}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* {{tlc|tmath|&amp;lt;nowiki&amp;gt;\zeta(2) {{=}} \frac{\pi^2}{6} &amp;lt;/nowiki&amp;gt;}} parses (you added that space!) to {{tmath|\zeta(2) {{=}} \frac{\pi^2}{6} }}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* {{tlc|tmath|&amp;lt;nowiki&amp;gt;\zeta(2) {{=}} \frac{\pi^2}{6}&amp;lt;/nowiki&amp;gt;}} fails to parse (you forgot that space!), v.g. {{tmath|\zeta(2) {{=}} \frac{\pi^2}{6}}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* {{tlc|tmath|&amp;lt;nowiki&amp;gt;\zeta(2) {{=}} \frac{\pi^2}{6}&amp;lt;/nowiki&amp;gt;}} fails to parse (you forgot that space!), v.g. {{tmath|\zeta(2) {{=}} \frac{\pi^2}{6}}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l31&quot;&gt;第31行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第31行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* {{tl|math}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* {{tl|math}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* {{tl|mvar}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* {{tl|mvar}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Math templates|notation}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  &lt;/ins&gt;{{Math templates|notation}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key statsape_wiki:diff::1.12:old-8078:rev-8079 --&gt;
&lt;/table&gt;</summary>
		<author><name>Zeroclanzhang</name></author>
	</entry>
	<entry>
		<id>https://wiki.statsape.com/index.php?title=%E6%A8%A1%E6%9D%BF:Tmath/doc&amp;diff=8078&amp;oldid=prev</id>
		<title>Zeroclanzhang：​创建页面，内容为“{{Documentation subpage}} &lt;!-- Categories and interwikis go at the bottom of this page. --&gt;  This template wraps a math expression written in TeX code between &lt;code&gt;&lt;nowiki&gt;&lt;math&gt;...&lt;/math&gt;&lt;/nowiki&gt;&lt;/code&gt; tags using the &lt;code&gt;&lt;nowiki&gt;{{#tag:}}&lt;/nowiki&gt;&lt;/code&gt; parser function magic word. It further avoids wrapping points at either end of expression that normally occurs with &lt;code&gt;&lt;nowiki&gt;&lt;math&gt;...&lt;/math&gt;&lt;/nowiki&gt;&lt;/code&gt;, so avoiding being…”</title>
		<link rel="alternate" type="text/html" href="https://wiki.statsape.com/index.php?title=%E6%A8%A1%E6%9D%BF:Tmath/doc&amp;diff=8078&amp;oldid=prev"/>
		<updated>2024-01-21T15:12:38Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“{{Documentation subpage}} &amp;lt;!-- Categories and interwikis go at the bottom of this page. --&amp;gt;  This template wraps a math expression written in &lt;a href=&quot;/TeX&quot; title=&quot;TeX&quot;&gt;TeX&lt;/a&gt; code between &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;math&amp;gt;...&amp;lt;/math&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; tags using the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#tag:}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; &lt;a href=&quot;/index.php?title=WP:PF&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:PF（页面不存在）&quot;&gt;parser function&lt;/a&gt; &lt;a href=&quot;/index.php?title=H:MW&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;H:MW（页面不存在）&quot;&gt;magic word&lt;/a&gt;. It further avoids wrapping points at either end of expression that normally occurs with &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;math&amp;gt;...&amp;lt;/math&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, so avoiding being…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- Categories and interwikis go at the bottom of this page. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This template wraps a math expression written in [[TeX]] code between &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;math&amp;gt;...&amp;lt;/math&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; tags using the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#tag:}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; [[WP:PF|parser function]] [[H:MW|magic word]]. It further avoids wrapping points at either end of expression that normally occurs with &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;math&amp;gt;...&amp;lt;/math&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, so avoiding being split from punctuation as would be normal for text. Intended to be used for very short expressions.&lt;br /&gt;
&lt;br /&gt;
Neither &amp;lt;code&amp;gt;display=&amp;quot;inline&amp;quot;&amp;lt;/code&amp;gt; nor TeX math mode &amp;lt;code&amp;gt;\textstyle&amp;lt;/code&amp;gt; is set by this template.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
: {{tlxi|tmath|expression}}  &lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
* {{tlc|tmath|a}} gives {{tmath|a}}&lt;br /&gt;
* {{tlc|tmath|\pi}} gives {{tmath|\pi}}&lt;br /&gt;
* {{tlc|tmath|x_0}} gives {{tmath|x_0}}&lt;br /&gt;
&lt;br /&gt;
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 &amp;lt;code&amp;gt;=&amp;lt;/code&amp;gt; with &amp;lt;code&amp;gt;{{tl|{{=}}}}&amp;lt;/code&amp;gt; and the vertical pipe &amp;lt;code&amp;gt;|&amp;lt;/code&amp;gt; with &amp;lt;code&amp;gt;{{tl|!}}&amp;lt;/code&amp;gt;:&lt;br /&gt;
* {{tlc|tmath|&amp;lt;nowiki&amp;gt;E {{=}} mc^2&amp;lt;/nowiki&amp;gt;}} gives {{tmath|E {{=}} mc^2}}&lt;br /&gt;
* {{tlc|tmath|&amp;lt;nowiki&amp;gt;x {{=}} {{!}} \vec x {{!}} &amp;lt;/nowiki&amp;gt;}} gives {{tmath|x {{=}} {{!}} \vec x {{!}} }}&lt;br /&gt;
&lt;br /&gt;
=== Use braces { and } with caution ===&lt;br /&gt;
&lt;br /&gt;
Apart from using the &amp;lt;code&amp;gt;{{tl|(}}&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;{{tl|)}}&amp;lt;/code&amp;gt; templates to get &amp;lt;code&amp;gt;{&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;}&amp;lt;/code&amp;gt;, you may use the braces &amp;lt;code&amp;gt;{&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;}&amp;lt;/code&amp;gt; as long as &amp;lt;code&amp;gt;{&amp;lt;/code&amp;gt; is not preceded or followed by another &amp;lt;code&amp;gt;{&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;}&amp;lt;/code&amp;gt; is not preceded or followed by another &amp;lt;code&amp;gt;}&amp;lt;/code&amp;gt;, e.g.&lt;br /&gt;
* {{tlc|tmath|&amp;lt;nowiki&amp;gt;x {{=}} {{!}} \vec{x} {{!}} &amp;lt;/nowiki&amp;gt;}} gives {{tmath|x {{=}} {{!}} \vec{x} {{!}} }}   &lt;br /&gt;
* {{tlc|tmath|&amp;lt;nowiki&amp;gt;\zeta(2) {{=}} \frac{\pi^2}{6} &amp;lt;/nowiki&amp;gt;}} parses (you added that space!) to {{tmath|\zeta(2) {{=}} \frac{\pi^2}{6} }}&lt;br /&gt;
* {{tlc|tmath|&amp;lt;nowiki&amp;gt;\zeta(2) {{=}} \frac{\pi^2}{6}&amp;lt;/nowiki&amp;gt;}} fails to parse (you forgot that space!), v.g. {{tmath|\zeta(2) {{=}} \frac{\pi^2}{6}}}&lt;br /&gt;
* {{tlc|tmath|&amp;lt;nowiki&amp;gt;\frac{1}{ x^{2n+1} } &amp;lt;/nowiki&amp;gt;}} parses (you added all those spaces!) to {{tmath|\frac{1}{ x^{2n+1} } }}&lt;br /&gt;
* {{tlc|tmath|&amp;lt;nowiki&amp;gt;\frac{1}{x^{2n+1}} &amp;lt;/nowiki&amp;gt;}} fails to parse (you forgot some of those spaces!), v.g. {{tmath|\frac{1}{x^{2n+1}} }}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{tl|bigmath}}&lt;br /&gt;
* {{tl|math}}&lt;br /&gt;
* {{tl|mvar}}&lt;br /&gt;
{{Math templates|notation}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories and interwikis go here: --&amp;gt;&lt;br /&gt;
[[Category:Mathematical formatting templates]]&lt;br /&gt;
[[Category:Formatting templates using math tag]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Zeroclanzhang</name></author>
	</entry>
</feed>