<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://compusofia.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AVarserif%2Fdoc</id>
	<title>Template:Varserif/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://compusofia.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AVarserif%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://compusofia.com/w/index.php?title=Template:Varserif/doc&amp;action=history"/>
	<updated>2026-04-19T03:15:02Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://compusofia.com/w/index.php?title=Template:Varserif/doc&amp;diff=2046&amp;oldid=prev</id>
		<title>Majestix: 1 revision imported: Initial Setup</title>
		<link rel="alternate" type="text/html" href="https://compusofia.com/w/index.php?title=Template:Varserif/doc&amp;diff=2046&amp;oldid=prev"/>
		<updated>2026-04-10T06:21:32Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported: Initial Setup&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;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:21, 10 April 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wikiNonStop:diff:1.41:old-2045:rev-2046 --&gt;
&lt;/table&gt;</summary>
		<author><name>Majestix</name></author>
	</entry>
	<entry>
		<id>https://compusofia.com/w/index.php?title=Template:Varserif/doc&amp;diff=2045&amp;oldid=prev</id>
		<title>en&gt;SMcCandlish: markup fix</title>
		<link rel="alternate" type="text/html" href="https://compusofia.com/w/index.php?title=Template:Varserif/doc&amp;diff=2045&amp;oldid=prev"/>
		<updated>2016-07-25T05:16:31Z</updated>

		<summary type="html">&lt;p&gt;markup fix&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;!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This template is to help facilitate the displaying of variable names (in mathematics, computer source code, etc.) with the semantically correct &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;var&amp;gt;...&amp;lt;/var&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, which also renders the variable in italics, as is customary, &amp;#039;&amp;#039;and&amp;#039;&amp;#039; to do so in a serif font. This is &amp;#039;&amp;#039;specifically&amp;#039;&amp;#039; for the use of the characters &amp;quot;I&amp;quot; (upper-case i) and &amp;quot;l&amp;quot; (lower-case L), which in many sans-serif fonts can be difficult to distinguish. The template also very slightly adjusts the font size of the enclosed variable, to account for typical difference in [[:en:w:X-height|x-height]] between non-fancy serif (e.g., Times and Times New Roman) and sans-serif (e.g. Arial and Helvetica) typefaces.  The template should not be used generally, but only for &amp;quot;I&amp;quot; and &amp;quot;l&amp;quot;, and perhaps other cases where a known visual ambiguity can be shown to exist in common sans-serif fonts for readers without acute vision.  It is recommended to use {{tlx|var|1}} rather than {{tlx|varserif|1}} for &amp;quot;1&amp;quot; (numeral one), as it is usually more clearly distinguishable from &amp;quot;I&amp;quot; and &amp;quot;l&amp;quot; in sans-serif than serif fonts.&lt;br /&gt;
&lt;br /&gt;
{{tlx|Varserif}} need not be used for variables that simply &amp;#039;&amp;#039;contain&amp;#039;&amp;#039; &amp;quot;I&amp;quot; or &amp;quot;l&amp;quot;, only for cases in which readers are likely to be unable to distinguish them visually.&lt;br /&gt;
&lt;br /&gt;
The {{tlx|varserif}} method is preferred to simply italicizing and using inline style to specify the font, for [[:en:w:WP:Accessibility|accessibility]], [[:en:wpSeparation of presentation and content|content/presentation separation]], [[:en:w:Semantic Web|semantic Web]], and [[:en:w:WP:METADATA|metadata]] reasons; XHTML&amp;#039;s &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;var&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; element has semantic meaning, while simple font changes like italicizing does not.&lt;br /&gt;
&lt;br /&gt;
Because the font styling in the template is done entirely with [[:en:w:Cascading Style Sheets|CSS]], it has no effect at all upon content semantics, nor does it change the output for users of [[:en:w:Screen reader|screen reader]] software.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{varserif|I}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
outputs:&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;var style=&amp;quot;font-size:118%;font-family:serif;&amp;quot;&amp;gt;I&amp;lt;/var&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
which renders as:&lt;br /&gt;
: {{varserif|I}}&lt;br /&gt;
&lt;br /&gt;
;Comparisons:&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{var|I}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; = {{var|I}}&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{var|l}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; = {{var|l}}&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{var|1}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; = {{var|1}}&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{varserif|I}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; = {{varserif|I}}&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{varserif|l}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; = {{varserif|l}}&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{varserif|1}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; = {{varserif|1}}&lt;br /&gt;
&lt;br /&gt;
Please note that {{tnull|varserif}} is not a panacea; its treatment of the numeral &amp;quot;1&amp;quot; is easily mistaken for the letter &amp;quot;l&amp;quot; (lower-case &amp;quot;L&amp;quot;) in many serif fonts.&lt;br /&gt;
&lt;br /&gt;
; Recommended usage:&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{varserif|I}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; = {{varserif|I}}&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{varserif|l}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; = {{varserif|l}}&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{var|1}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; = {{var|1}}&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{var|&amp;lt;/nowiki&amp;gt;{{var|variable}}&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; for any other variable&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- CATEGORIES BELOW THIS LINE, PLEASE: --&amp;gt;&lt;br /&gt;
[[Category:Semantic markup templates]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>en&gt;SMcCandlish</name></author>
	</entry>
</feed>