Help/Simple Equations: Difference between revisions
Line 6: | Line 6: | ||
<big><nowiki>{{Equation|<math> ... </math>|4}}</nowiki></big> | <big><nowiki>{{Equation|<math> ... </math>|4}}</nowiki></big> | ||
*Replace '...' with the LaTeX equation (without leading and ending delimiters). | |||
Replace '...' with the LaTeX equation (without leading and ending delimiters). | *The number for the equation is the last parameter in the template. In this case the equation number is 4. | ||
The number for the equation is the last parameter in the template. In this case the equation number is 4. | |||
For example, this equation: | For example, this equation: |
Revision as of 13:42, 23 October 2012
Typically numbered equations are centered in documents. Due to the appearance of the wiki, however, all numbered equations shown on this wiki are left justified with a small indent and the equation number is right justified.
Numbered Equation
To produce a numbered equation in a wiki document, simply surround the LaTeX for the equations by the following:
{{Equation|<math> ... </math>|4}}
- Replace '...' with the LaTeX equation (without leading and ending delimiters).
- The number for the equation is the last parameter in the template. In this case the equation number is 4.
For example, this equation:
(4) |
was typed as follows:
\ begin{equation} \tag{4}
\left( {{\rho }_{s}}-\rho \right)g\frac{\pi }{6}{{d}^{3}}={{C}_{D}}\frac{\pi }{8}\rho W_{s}^{2}{{d}^{2}}
\ end{equation}
Equation Not Numbered
If for some reason it is desired to have an equation set aside but turn off display of the equation number, just leave off the delimiter \tag{}.
For example, the above equation again: \begin{equation} \left( {{\rho }_{s}}-\rho \right)g\frac{\pi }{6}{{d}^{3}}={{C}_{D}}\frac{\pi }{8}\rho W_{s}^{2}{{d}^{2}} \end{equation}
was typed as follows:
\ begin{equation}
\left( {{\rho }_{s}}-\rho \right)g\frac{\pi }{6}{{d}^{3}}={{C}_{D}}\frac{\pi }{8}\rho W_{s}^{2}{{d}^{2}}
\ end{equation}
Some advanced equations have multiple lines, and it may be desired for each line to be aligned at a certain character on each line. These advanced equations are described on the next page.