Help/Simple Equations: Difference between revisions

From CIRPwiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
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.
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.


==AutoNumbered Equation==
To produce a numbered equation in a wiki document, simply surround the LaTeX for the equations by the following:  
To produce a numbered equation in a wiki document, simply surround the LaTeX for the equations by the following:  
'''\ begin{equation} \label{}...\ end{equation)''' (Note: no space between the '\' and the 'begin' or 'end).  The equation number will be automatically incremented, but will not be shown unless desired.
'''\ begin{equation} \label{}...\ end{equation)''' (Note: no space between the '\' and the 'begin' or 'end).  The equation number will be automatically incremented, but will not be shown unless desired.
Line 11: Line 12:
was typed as follows:<br>
was typed as follows:<br>
'''\ begin{equation} \label{}<br>'''
'''\ begin{equation} \label{}<br>'''
'''&nbsp;&nbsp;&nbsp;\left( {{\rho }_{s}}-\rho \right)g\frac{\pi }{6}{{d}^{3}}={{C}_{D}}\frac{\pi }{8}\rho W_{s}^{2}{{d}^{2}}<br>'''
'''\ end{equation}<br>'''
==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 '''\label{}'''.  Be aware that the numbering for this equation is still incremented, just the number is not displayed.
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:<br>
'''\ begin{equation}<br>'''
'''&nbsp;&nbsp;&nbsp;\left( {{\rho }_{s}}-\rho \right)g\frac{\pi }{6}{{d}^{3}}={{C}_{D}}\frac{\pi }{8}\rho W_{s}^{2}{{d}^{2}}<br>'''
'''&nbsp;&nbsp;&nbsp;\left( {{\rho }_{s}}-\rho \right)g\frac{\pi }{6}{{d}^{3}}={{C}_{D}}\frac{\pi }{8}\rho W_{s}^{2}{{d}^{2}}<br>'''
'''\ end{equation}<br>'''
'''\ end{equation}<br>'''

Revision as of 21:37, 2 October 2011

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.

AutoNumbered Equation

To produce a numbered equation in a wiki document, simply surround the LaTeX for the equations by the following: \ begin{equation} \label{}...\ end{equation) (Note: no space between the '\' and the 'begin' or 'end). The equation number will be automatically incremented, but will not be shown unless desired.

For example, this equation: \begin{equation} \label{} \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} \label{}
   \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 \label{}. Be aware that the numbering for this equation is still incremented, just the number is not displayed.

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}