<?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%3AMath%2Fdoc</id>
	<title>Sjabloon:Math/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%3AMath%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://informatiestandaarden.test-nictiz.nl/index.php?title=Sjabloon:Math/doc&amp;action=history"/>
	<updated>2026-04-28T13:22:15Z</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:Math/doc&amp;diff=2241&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;  The &#039;&#039;&#039;math&#039;&#039;&#039; template formats HTML- or wikimarkup generated ma...&#039;</title>
		<link rel="alternate" type="text/html" href="https://informatiestandaarden.test-nictiz.nl/index.php?title=Sjabloon:Math/doc&amp;diff=2241&amp;oldid=prev"/>
		<updated>2013-07-18T08:56:23Z</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;  The &amp;#039;&amp;#039;&amp;#039;math&amp;#039;&amp;#039;&amp;#039; template formats HTML- or wikimarkup generated ma...&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;
The &amp;#039;&amp;#039;&amp;#039;math&amp;#039;&amp;#039;&amp;#039; template formats HTML- or wikimarkup generated mathematical formulas in the similar fashion as [[MathJax]], a web-based [[TeX]] formula interpreter. The template uses the &amp;lt;code&amp;gt;texhtml&amp;lt;/code&amp;gt; class, which aims to match the size of the serif font with the surrounding sans-serif font (see below). The template also prevents line-wrapping.&lt;br /&gt;
&lt;br /&gt;
Use this template for non-complex formulas as an alternative to using the {{tag|math}} format (see: [[Help:Math]]).&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
Use this template to wrap an inline formula in wikitext.&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{math|&amp;#039;&amp;#039;f&amp;#039;&amp;#039;(&amp;#039;&amp;#039;x&amp;#039;&amp;#039;) {{=}} &amp;#039;&amp;#039;b&amp;#039;&amp;#039;&amp;lt;sup&amp;gt;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;lt;/sup&amp;gt; {{=}} &amp;#039;&amp;#039;y&amp;#039;&amp;#039;}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: produces: {{math|&amp;#039;&amp;#039;f&amp;#039;&amp;#039;(&amp;#039;&amp;#039;x&amp;#039;&amp;#039;) {{=}} &amp;#039;&amp;#039;b&amp;#039;&amp;#039;&amp;lt;sup&amp;gt;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;lt;/sup&amp;gt; {{=}} &amp;#039;&amp;#039;y&amp;#039;&amp;#039;}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{math|sin &amp;amp;amp;pi; {{=}} 0}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: produces: {{math|sin &amp;amp;pi; {{=}} 0}}.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{math|&amp;amp;lt;big&amp;gt;&amp;amp;amp;int;&amp;amp;lt;/big&amp;gt;{{su|b=0|p=+&amp;amp;amp;infin;}} &amp;#039;&amp;#039;e&amp;#039;&amp;#039;&amp;lt;sup&amp;gt;−&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;lt;/sup&amp;gt; d&amp;#039;&amp;#039;x&amp;#039;&amp;#039; {{=}} 1}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: produces: {{math|&amp;lt;big&amp;gt;&amp;amp;int;&amp;lt;/big&amp;gt;{{su|b=0|p=+&amp;amp;infin;}} &amp;#039;&amp;#039;e&amp;#039;&amp;#039;&amp;lt;sup&amp;gt;−&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;lt;/sup&amp;gt; d&amp;#039;&amp;#039;x&amp;#039;&amp;#039; {{=}} 1}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;{{math|{{sfrac|1|2}} − {{sfrac|1|3}} {{=}} {{sfrac|1|6}}}}&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: produces: &amp;#039;&amp;#039;&amp;#039;{{math|{{sfrac|1|2}} − {{sfrac|1|3}} {{=}} {{sfrac|1|6}}}}&amp;#039;&amp;#039;&amp;#039;.  Note the triple-apostrophes have set the whole formula as bold.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{math|({{sqrt|2}})&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; {{=}} 2}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: produces: {{math|({{sqrt|2}})&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; {{=}} 2}}.&lt;br /&gt;
&lt;br /&gt;
===Use of equals-sign and absolute value bars===&lt;br /&gt;
&lt;br /&gt;
If a single equals-sign (&amp;quot;=&amp;quot;) is used, it will fail to render, instead showing &amp;quot;&amp;lt;nowiki&amp;gt;{{{1}}}&amp;lt;/nowiki&amp;gt;&amp;quot;. For example, the following template-coding would be invalid:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{math|1 + 2 = 3}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
: produces: {{math|1 + 2 = 3}}, which is invalid code&lt;br /&gt;
&lt;br /&gt;
To resolve this, either: (a) Start the formula with &amp;quot;&amp;lt;code&amp;gt;1=&amp;lt;/code&amp;gt;&amp;quot; as in:&lt;br /&gt;
&amp;lt;pre&amp;gt;{{math|1=1 + 2 = 3}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
: produces: {{math|1=1 + 2 = 3}}, or else, (b) include the equals-sign in double-braces &amp;lt;nowiki&amp;gt;&amp;quot;{{=}}&amp;quot;&amp;lt;/nowiki&amp;gt; as in:&lt;br /&gt;
&amp;lt;pre&amp;gt;{{math|1 + 2 {{=}} 3}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
: produces: {{math|1 + 2 {{=}} 3}}.&lt;br /&gt;
&lt;br /&gt;
A similar difficulty concerns the vertical bars (&amp;quot;|&amp;quot;) used to indicate absolute value, which without care would get interpreted as part of the template syntax. The solution is different than for the equals sign: such bars should be entered as &amp;quot;&amp;lt;nowiki&amp;gt;{{!}}&amp;lt;/nowiki&amp;gt;&amp;quot;:&lt;br /&gt;
&amp;lt;pre&amp;gt;{{math|{{!}}&amp;#039;&amp;#039;f&amp;#039;&amp;#039;(&amp;#039;&amp;#039;x&amp;#039;&amp;#039;) − &amp;#039;&amp;#039;a&amp;#039;&amp;#039;{{!}} &amp;lt; ε}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
: produces: {{math|{{!}}&amp;#039;&amp;#039;f&amp;#039;&amp;#039;(&amp;#039;&amp;#039;x&amp;#039;&amp;#039;) − &amp;#039;&amp;#039;a&amp;#039;&amp;#039;{{!}} &amp;lt; ε}}.&lt;br /&gt;
This example can also be produced by &amp;lt;nowiki&amp;gt;{{math|{{mabs|&amp;#039;&amp;#039;f&amp;#039;&amp;#039;(&amp;#039;&amp;#039;x&amp;#039;&amp;#039;) − &amp;#039;&amp;#039;a&amp;#039;&amp;#039;}} &amp;lt; ε}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
&lt;br /&gt;
The following parameters are optional:&lt;br /&gt;
* &amp;lt;code&amp;gt;big=1&amp;lt;/code&amp;gt; – This will render the formula in a bigger fontsize, increased to 165%.&lt;br /&gt;
* &amp;lt;code&amp;gt;size=&amp;#039;&amp;#039;font-size&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; – Use this to specify your own fontsize.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{math|big=1|1 + 2 {{=}} 3}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: produces: {{math|big=1|1 + 2 {{=}} 3}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;templatedata&amp;gt;{&lt;br /&gt;
&amp;quot;description&amp;quot;: &amp;quot;This template formats markup generated mathematical formulas with HTMl and CSS. The template tries to match the size of the serif font with the surrounding sans-serif font. The template also prevents line-wrapping. Use this template for non-complex formulas as an alternative to using the &amp;lt;math&amp;gt; format.&amp;quot;,&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;formula&amp;quot;,&lt;br /&gt;
    &amp;quot;description&amp;quot;: &amp;quot;wrap an inline formula in wikitext.&amp;quot;,&lt;br /&gt;
    &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
    &amp;quot;required&amp;quot;: true&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;big&amp;quot;: {&lt;br /&gt;
    &amp;quot;label&amp;quot;: &amp;quot;bigger font size&amp;quot;,&lt;br /&gt;
    &amp;quot;description&amp;quot;: &amp;quot;if set to ‘1’, this will render the formula in a bigger font size, increased to 165%&amp;quot;,&lt;br /&gt;
    &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
    &amp;quot;required&amp;quot;: false&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;size&amp;quot;: {&lt;br /&gt;
    &amp;quot;label&amp;quot;: &amp;quot;custom font size&amp;quot;,&lt;br /&gt;
    &amp;quot;description&amp;quot;: &amp;quot;use this to specify your own font size&amp;quot;,&lt;br /&gt;
    &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
    &amp;quot;required&amp;quot;: false&lt;br /&gt;
  }&lt;br /&gt;
}}&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
The font and size used for &amp;lt;code&amp;gt;texhtml&amp;lt;/code&amp;gt;, as defined in [[MediaWiki: common.css]], was determined by comparing common default fonts found on Windows, OS X and Linux and is scaled to 118% to match their [[x-height]]. However, not everyone uses the default fonts. If you find that the rendered math is not of the same size as the surrounding text, you can adjust this in your personal CSS. For instance, the DejaVu Sans and DejaVu Serif fonts do &amp;#039;&amp;#039;not&amp;#039;&amp;#039; need scaling, in which case &amp;lt;code&amp;gt;span.texhtml { font-size: 100%; }&amp;lt;/code&amp;gt; will restore proper display.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;texhtml&amp;lt;/code&amp;gt; classname is a remnant from the {{TeX}} renderer, which had a user preference to render {{TeX}}-written formulae in &amp;quot;HTML when simple&amp;quot;. That option has been removed some time ago, but the classname continues to be used for formulae written in HTML.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
;Help and information&lt;br /&gt;
&lt;br /&gt;
* [[Help: Displaying a formula]]&lt;br /&gt;
* [[WP:«math»]], a comparison of different representation of mathematical expressions&lt;br /&gt;
&lt;br /&gt;
;Related templates&lt;br /&gt;
&lt;br /&gt;
* {{tl|bigmath}} is a template for stand-alone formulas, using a bigger font to match PNG rendered TeX formulas.&lt;br /&gt;
* {{tl|mvar}} is a short form to refer to individual italicized maths variables in normal text.&lt;br /&gt;
* {{tl|tmath}} wraps a [[TeX|{{TeX}}]] math expression in &amp;lt;code&amp;gt;&amp;amp;lt;math&amp;gt;&amp;lt;/code&amp;gt; tags&lt;br /&gt;
* {{tl|intmath}} for [[integral symbol]]s.&lt;br /&gt;
* {{tl|vec}} for various overarrows, underarrows, pointing left, right or both ways.&lt;br /&gt;
* {{tl|langle}} and {{tl|rangle}} for [[bracket#Bracket#Angle brackets or chevrons .E2.9F.A8 .E2.9F.A9|angular bracket]]s.&lt;br /&gt;
* {{tl|bra-ket}}, {{tl|bra}}, {{tl|ket}}, {{tl|braket}} for [[bra–ket notation]].&lt;br /&gt;
* {{tl|overset}} and {{tl|underset}} for arbitrary characters and diacritics set above or below one another.&lt;br /&gt;
* {{tl|drndbracket}} and {{tl|dsqbracket}} for two-line round or square brackets (only two lines, no more or less).&lt;br /&gt;
* {{tl|ldelim}} and {{tl|rdelim}} for multiline delimiters (2-5 lines inclusive).&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:Mathematical formatting templates]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ahenket</name></author>
	</entry>
</feed>