<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://pool.calebcooper.ie/index.php?action=history&amp;feed=atom&amp;title=Template%3AMvar%2Fdoc</id>
	<title>Template:Mvar/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://pool.calebcooper.ie/index.php?action=history&amp;feed=atom&amp;title=Template%3AMvar%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Mvar/doc&amp;action=history"/>
	<updated>2026-04-08T08:46:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://pool.calebcooper.ie/index.php?title=Template:Mvar/doc&amp;diff=12318&amp;oldid=prev</id>
		<title>Caleb Cooper: Created page with &quot;{{Documentation subpage}} &lt;!-- Categories and interwikis go at the bottom of this page. --&gt; {{high-use}} {{Commons Import}}  The &#039;&#039;&#039;mvar&#039;&#039;&#039; template makes the argument italic...&quot;</title>
		<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Mvar/doc&amp;diff=12318&amp;oldid=prev"/>
		<updated>2020-10-19T07:46:38Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation subpage}} &amp;lt;!-- Categories and interwikis go at the bottom of this page. --&amp;gt; {{high-use}} {{Commons Import}}  The &amp;#039;&amp;#039;&amp;#039;mvar&amp;#039;&amp;#039;&amp;#039; template makes the argument italic...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&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;
{{high-use}}&lt;br /&gt;
{{Commons Import}}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;mvar&amp;#039;&amp;#039;&amp;#039; template makes the argument italic and formats as mathematics. It is used to refer to individual variables in normal running text. It should not be used within a {{tl|math}} template.&lt;br /&gt;
&lt;br /&gt;
Note that digits in a variable name are conventionally not italic so {{tl|math}} should be used instead in for example &amp;lt;nowiki&amp;gt;{{math|&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;}}&amp;lt;/nowiki&amp;gt; to produce {{math|&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;}}. Functions and variables made up of multiple letters are conventionally set in upright letters so {{tl|math}} should be used in that case too; for example &amp;lt;nowiki&amp;gt;{{math|cos}}&amp;lt;/nowiki&amp;gt; to produce {{math|cos}}.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Let {{mvar|x}} be the maximum value used.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
produces:&lt;br /&gt;
&lt;br /&gt;
Let {{mvar|x}} be the maximum value used.&lt;br /&gt;
&lt;br /&gt;
==TemplateData==&lt;br /&gt;
{{TemplateDataHeader}}&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;1&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;variable&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;line&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: true&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;Marks text as a variable and formats it as math&amp;quot;,&lt;br /&gt;
	&amp;quot;format&amp;quot;: &amp;quot;inline&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{tl|var}}, for non-mathematical variables&lt;br /&gt;
* {{tl|math}}, which formats its argument as mathematics&lt;br /&gt;
* {{tl|bigmath}}, the same as {{tl|math}} but makes it bigger&lt;br /&gt;
* {{tl|tmath}}, which wraps a [[TeX|TeX]] math expression in &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;math&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; tags&lt;br /&gt;
&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;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Caleb Cooper</name></author>
	</entry>
</feed>