Template:DisplayEquation: Difference between revisions
Jump to navigation
Jump to search
(→Usage) |
(→Usage) |
||
Line 2: | Line 2: | ||
== Usage == | == Usage == | ||
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 | the equation number respectively. Both parameters are optional, but only two combinations | ||
are useful: | |||
<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}} | ||
<pre>{{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}}</pre> {{DisplayEquation|eqn=a^3+b^3\ne c^3}} |
Revision as of 17:58, 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, but only two combinations are useful:
{{DisplayEquation|eqn=a^2+b^2=c^2|no=5}}
{{DisplayEquation|eqn=a^3+b^3\ne c^3}}