Template:DisplayEquation: Difference between revisions

From KBwiki
Jump to navigation Jump to search
Line 3: Line 3:
The template takes two named parameters, ''eqn'' and ''no'', being the LaTeX expression and
The template takes two named parameters, ''eqn'' and ''no'', being the LaTeX expression and
the equation number respectively; both parameters are optional.
the equation number respectively; both parameters are optional.
<pre>{{DisplayEquation|eqn=a^2+b^2=c^2|no=5}} </pre>{{DisplayEquation|eqn=a^2+b^2=c^2|no=5}}
<pre>{{DisplayEquation|eqn=a^2+b^2=c^2|no=5}}</pre> {{DisplayEquation|eqn=a^2+b^2=c^2|no=5}}
{{DisplayEquation|eqn=a^3+b^3\ne c^3}}
<pre>{{DisplayEquation|eqn=a^3+b^3\ne c^3}}</pre> {{DisplayEquation|eqn=a^3+b^3\ne c^3}}
</noinclude>
</noinclude>



Revision as of 17:57, 9 May 2011

Usage

The template takes two named parameters, eqn and no, being the LaTeX expression and the equation number respectively; both parameters are optional.

{{DisplayEquation|eqn=a^2+b^2=c^2|no=5}}


{{DisplayEquation|eqn=a^3+b^3\ne c^3}}