Mathjax

Tuesday 26 August 2014

Test the codecogs for math input

I try the math formula editor on http://www.codecogs.com/latex/eqneditor.php



 http://www.codecogs.com/latex/eqneditor.php

provides a easy way which is worth trying.

I put the code

W_t= \Delta Y_t = (Y_t - Y_{t-1})=[\sum _{j=0}^{m-1} y_{t-j} - \sum _{j=0}^{m-1} y_{t-1-j}]

in the yellow box and copy the code in the bottom box



<a href="http://www.codecogs.com/eqnedit.php?latex=\fn_phv&space;\large&space;W_t=&space;\Delta&space;Y_t&space;=&space;(Y_t&space;-&space;Y_{t-1})=[\sum&space;_{j=0}^{m-1}&space;y_{t-j}&space;-&space;\sum&space;_{j=0}^{m-1}&space;y_{t-1-j}]" target="_blank"><img src="http://latex.codecogs.com/svg.latex?\fn_phv&space;\large&space;W_t=&space;\Delta&space;Y_t&space;=&space;(Y_t&space;-&space;Y_{t-1})=[\sum&space;_{j=0}^{m-1}&space;y_{t-j}&space;-&space;\sum&space;_{j=0}^{m-1}&space;y_{t-1-j}]" title="\large W_t= \Delta Y_t = (Y_t - Y_{t-1})=[\sum _{j=0}^{m-1} y_{t-j} - \sum _{j=0}^{m-1} y_{t-1-j}]" /></a>




and paste into my blog on blogspot under "html" mode.







  • The formula is rendered very well.






The good thing of this way is when I select the picture, copy and paste, I got the exact the W_t= \Delta Y_t = (Y_t - Y_{t-1})=[\sum _{j=0}^{m-1} y_{t-j} - \sum _{j=0}^{m-1} y_{t-1-j}]  in my word or any text editor.

It is cool.

It also support the option of format, font, and size. I like  svg, verdana, and  12 pt.

----
  • Another way is insert the picture link into the blog.


Copy and paste this just gives me a picture.


This link from the original page

"Click here to Download Image (GIF)"
----
  • The third way is copying and pasting the picture on the original page directly.



----
  •  The four way is to download the image and upload to my blog.

It seems that they are different in quality since it depends what size I choose in the blog. It can be changed by me when I edit this blog. After I choose the original size, the quality seems the same.









Sunday 18 May 2014

test mathjax


Maths between dollars is inline: \(\sum_{k=1}^n k = \frac{n(n+1)}{2}\).


\(\sum_{k=1}^n k = \frac{n(n+1)}{2}\)
$\sum_{k=1}^n k = \frac{n(n+1)}{2}$
Maths between slash-square-brackets is display: \[\sum_{k=1}^n k = \frac{n(n+1)}{2}\]
Maths between slash-square-brackets is display: \[\sum_{k=1}^n k = \frac{n(n+1)}{2}\]

MathJax


 I use ( and ) for inline math and [ and ] for displayed math.

Maths between dollars is inline: \(\sum_{k=1}^n k = \frac{n(n+1)}{2}\).
\[z=\sqrt{x^2+y^2}\]

\(\frac{2}{3}\)


\[z=\sqrt{x^2+y^2}\]



Maths between slash-square-brackets is display:
\[\sum_{k=1}^n k = \frac{n(n+1)}{2}\]

http://blog.pengyifan.com/mathjax-with-blogger-com/

MathJax in blogger.com is useful when I need to input equation in my blog. This is a instruction and test of using MathJax in blogger.com.
  1. set blogger.com template to “Simple”. “Dynamic Views” seems not working.
  2. edit HTML by adding the following code between <head> and </head>: <script src='http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' type='text/javascript'/>
  3. type math equation in the blog.

Note that, enclosing math in single $‘s does not work. Instead, I use ( and ) for inline math and [ and ] for displayed math. For example:
1
2
\(\frac{2}{3}\)
\[z=\sqrt{x^2+y^2}\]



Effectively Enable MathJax on Blogger

http://lesoluzioni.blogspot.ca/2013/01/effectively-enable-mathjax-on-blogger.html

MathJax basic tutorial and quick reference

http://meta.math.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference

http://checkmyworking.com/category/latex/

test mathjax 2

Maths between dollars is inline: $\sum_{k=1}^n k = \frac{n(n+1)}{2}$.


Maths between slash-square-brackets is display: \[\sum_{k=1}^n k = \frac{n(n+1)}{2}\]

Saturday 30 March 2013

Rules for Happiness


“Rules for Happiness:
something to do,
someone to love,
something to hope for.”


― Immanuel Kant