<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="nl">
	<id>https://informatiestandaarden.test-nictiz.nl/index.php?action=history&amp;feed=atom&amp;title=Sjabloon%3AVarserif%2Fdoc</id>
	<title>Sjabloon:Varserif/doc - Bewerkingsoverzicht</title>
	<link rel="self" type="application/atom+xml" href="https://informatiestandaarden.test-nictiz.nl/index.php?action=history&amp;feed=atom&amp;title=Sjabloon%3AVarserif%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://informatiestandaarden.test-nictiz.nl/index.php?title=Sjabloon:Varserif/doc&amp;action=history"/>
	<updated>2026-04-28T06:45:48Z</updated>
	<subtitle>Bewerkingsoverzicht voor deze pagina op de wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://informatiestandaarden.test-nictiz.nl/index.php?title=Sjabloon:Varserif/doc&amp;diff=646&amp;oldid=prev</id>
		<title>Ahenket: Nieuwe pagina aangemaakt met &#039;{{Documentation subpage}} &lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&gt;  ==Usage== This template is to help facilitate the displaying of ...&#039;</title>
		<link rel="alternate" type="text/html" href="https://informatiestandaarden.test-nictiz.nl/index.php?title=Sjabloon:Varserif/doc&amp;diff=646&amp;oldid=prev"/>
		<updated>2013-07-17T10:40:03Z</updated>

		<summary type="html">&lt;p&gt;Nieuwe pagina aangemaakt met &amp;#039;{{Documentation subpage}} &amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;  ==Usage== This template is to help facilitate the displaying of ...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nieuwe pagina&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Usage==&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;lt;em&amp;gt;and&amp;lt;/em&amp;gt; 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 [[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 [[WP:Accessibility|accessibility]], [[Separation of presentation and content|content/presentation separation]], [[semantic Web]], and [[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 [[Cascading Style Sheets|CSS]], it has no effect at all upon content semantics, nor does it change the output for users of [[screen reader]] software.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&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;
&lt;br /&gt;
outputs:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;var style=&amp;quot;font-family: serif; font-size: 118%;&amp;quot;&amp;gt;I&amp;lt;/var&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which renders as:&lt;br /&gt;
&lt;br /&gt;
:{{varserif|I}}&lt;br /&gt;
&lt;br /&gt;
;Comparisons:&lt;br /&gt;
&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 &amp;amp;ndash; 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;
&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;
==See also==&lt;br /&gt;
{{Var/seealso}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- CATEGORIES AND INTERWIKIS HERE, THANKS --&amp;gt;&lt;br /&gt;
[[Category:Mathematics templates|{{PAGENAME}}]]&lt;br /&gt;
[[Category:Programming typing-aid templates|{{PAGENAME}}]]&lt;br /&gt;
[[Category:Semantic markup templates|{{PAGENAME}}]]&lt;br /&gt;
[[Category:Wikipedia XHTML tag replacing templates|{{PAGENAME}}]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ahenket</name></author>
	</entry>
</feed>