It's a standard LaTeX construction that answers your question. Look e.g. at
Press page-down about 4 times to see the equation starting with Prob(no marble). With my macros, you may see that the source is
\eq{
Prob(\text{no marble}) &= \frac{1/P-1}{1/P-F} =\\ &= \frac{1-P}{1-FP}
}
I sometimes like to use it so I created a macro called "eq" that makes it simple. In the initialization of MathJax, I have
<script type='text/x-mathjax-config'> |
| MathJax.Hub.Config({ |
| TeX: { |
| Macros: { |
| dd: '{\\rm d}', (.... many others.....) |
| eq: ['\\begin{align} #1 \\end{align}',1], |
| iddots: "{\\kern3mu\\raise1mu{.}\\kern3mu\\raise6mu{.}\\kern3mu\\raise12mu{.}}" |
}
},
and so on. You may see that the equations must be written between \begin{align} and \end{align}, the lines are separated by double backslashes \\, and the point at each equation (in front of "=" in your case which is the most typical one) one must write ampersend & to get the places aligned.
You may want to quick-study the 4-page and 150-page introductions to LaTeX:
All the best
Lubos
Dne středa, 23. května 2012 0:19:19 UTC+2 Stuart B napsal(a):