Through my browsing, I found a couple of webpages that include various formulas. By accident, I happened to "right click" on one of them and was presented with a pop-up menu from MathJax.
Following the links, I learned that MathJax is exactly what I need.
For example, the Poisson distribution formula is:
`P(X)=(e^-mu mu^x)/(x!)`
First: The template must be edited and a CDN link to MathJax must be added. The line to be added is:
<script src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=AM_HTMLorMML-full" type="text/javascript">
and it should be placed just before the </head> tag. Once you have added this line, make sure you save the blog template or webpage. This only has to be done once in each blog or webpage where you want to display formulas.
Second: Now that this is complete, you may now enter formulas. This should always be done in raw HTML mode (but this is not necessary in Blogger).
The syntax for MathJax is very similar to mathematical expressions when using ASCII Math notation. The html code for the above Poisson formula is:
`P(X)=(e^-mu mu^x)/(x!)`
Additional Helpful Links
Thank you, this trick worked like a charm on my blog!
ReplyDeletenice tricky ans
ReplyDeletethanks my man
ReplyDelete