<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pt">
	<id>https://wiki.nivel-teorico.com/index.php?action=history&amp;feed=atom&amp;title=Predefini%C3%A7%C3%A3o%3AMath%2Fdoc</id>
	<title>Predefinição:Math/doc - Histórico de revisões</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.nivel-teorico.com/index.php?action=history&amp;feed=atom&amp;title=Predefini%C3%A7%C3%A3o%3AMath%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.nivel-teorico.com/index.php?title=Predefini%C3%A7%C3%A3o:Math/doc&amp;action=history"/>
	<updated>2026-07-22T09:48:30Z</updated>
	<subtitle>Histórico de edições para esta página nesta wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://wiki.nivel-teorico.com/index.php?title=Predefini%C3%A7%C3%A3o:Math/doc&amp;diff=6339&amp;oldid=prev</id>
		<title>Calimero0000: Criou nova página com &#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 mathemat...&#039;</title>
		<link rel="alternate" type="text/html" href="https://wiki.nivel-teorico.com/index.php?title=Predefini%C3%A7%C3%A3o:Math/doc&amp;diff=6339&amp;oldid=prev"/>
		<updated>2013-05-04T23:25:29Z</updated>

		<summary type="html">&lt;p&gt;Criou nova página com &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 mathemat...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nova&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 same fashion as HTML based [[TeX]] formulas, which uses a serif font. 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 in those skins that use sans-serif (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.  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|{{frac|1|2}} − {{frac|1|3}} {{=}} {{frac|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|{{frac|1|2}} − {{frac|1|3}} {{=}} {{frac|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;
&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 rendered 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;
&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 wil 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;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
The size of the font used for &amp;lt;code&amp;gt;texhtml&amp;lt;/code&amp;gt; is based on default fonts on Windows (Arial and Times New Roman) and is scaled 118%. 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;
=== See also ===&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;
&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|{{PAGENAME}}]]&lt;br /&gt;
[[ar:قالب:Math]]&lt;br /&gt;
[[bg:Шаблон:Math]]&lt;br /&gt;
[[ca:Plantilla:Math]]&lt;br /&gt;
[[en:Template:Math]]&lt;br /&gt;
[[fa:الگو:Math]]&lt;br /&gt;
[[ja:Template:Math]]&lt;br /&gt;
[[mk:Шаблон:Мат]]&lt;br /&gt;
[[ne:ढाँचा:Math]]&lt;br /&gt;
[[nl:Sjabloon:Math]]&lt;br /&gt;
[[no:Mal:Matte]]&lt;br /&gt;
[[ru:Шаблон:Math]]&lt;br /&gt;
[[tt:Калып:Math]]&lt;br /&gt;
[[uk:Шаблон:Math]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Calimero0000</name></author>
	</entry>
</feed>