## LaTeX to WordPress Converter

Just created a LaTeX to WordPress Converter: http://mathtuition88.blogspot.sg/2015/12/latex-to-wordpress-converter.html

Currently it is a very basic converter, just changes “$abc$” to “$latex abc$”. To change back from WordPress to LaTeX, a simple text editor will do the job, with replace “$latex ” with “$”.

Test code:

LaTeX: From the above inequality $|z^n|>|a_1z^{n-1}+\ldots+a_n|$ we can conclude that the polynomial $p_t(z)=z^n+t(a_1z^{n-1}+\ldots+a_n)$ has no roots on the circle $|z|=r$ when $0\leq t\leq 1$.

WordPress: From the above inequality $|z^n|>|a_1z^{n-1}+\ldots+a_n|$ we can conclude that the polynomial $p_t(z)=z^n+t(a_1z^{n-1}+\ldots+a_n)$ has no roots on the circle $|z|=r$ when $0\leq t\leq 1$.

## How to type LaTeX in WordPress without using “$latex” Currently, LaTeX is well supported in WordPress, however there is one practical issue when typing LaTeX in WordPress, the need to type “$latex” for every single math expression! It gets pretty troublesome after a while.

For those familiar with LaTeX, one would know that for ordinary LaTeX typesetting, typing double $will do, there is no need to type the word LaTeX. If I remember correctly, for Blogger there is no need to type “$latex”, hence it is a uniquely WordPress issue.

So far, I have not found any solution to this issue. (I am using WordPress.com hosted WordPress). Any readers who happen to know a solution, please enlighten me by dropping a comment! It will be greatly appreciated.

https://mathtuition88.com/2014/12/25/math-formula-in-wordpress-vs-blogspot/

## Math Formula in WordPress vs Blogspot

Refering to How to write Math Formulas on Blogspot / Blogger, Blogspot is also capable of rendering beautiful Math Equations based on LaTeX.

Blogger uses MathJax for rendering the Math Formulas, which look like the ones shown above.

Let’s try the WordPress version and readers can judge for themselves which is better.

$\displaystyle a^p \equiv a \pmod p$

$\displaystyle\int_0^{\frac{\pi}{2}} \sin x\ dx=1$

My personal opinion is: they look the same to be honest. However, the Blogger way of typing is much more convenient, just using $and$$, as opposed to WordPress requiring “$latex” and “\$latex\displaystyle”, which is more cumbersome especially for long texts. However, experts like Terence Tao have opted for WordPress, which shows that WordPress does probably have some advantages.

## Interactive Astronomy using 3D Computer Graphics

This is a school project on using 3D Computer Graphics. It explores a phenomenon whereby a sundial can actually go backwards in the tropics!

Abstract:

Understanding spherical astronomy requires good spatial visualization. Unfortunately, it is very hard to make good three dimensional (3D) illustrations and many illustrations from standard textbooks are in fact incorrect. There are many programs that can be used to create illustrations, but in this report we have focused on TEX-friendly, free programs. We have compared MetaPost, PSTricks, Asymptote and Sketch by creating a series of illustrations related to the problem of why sundials sometimes go backwards in the tropics.

In it, the Hezekiah Phenomenon is being discussed.

Quote: First, we would like to explain where the name Hezekiah Phenomenon comes from. In the Bible there is a story about God making the shadow of the sundial move backward as a sign for King Hezekiah.

The Bible gives two versions of the story of King Hezekiah and the sundial. First in 2 Kings, Chapter 20.

8 And Hezekiah said unto Isaiah, What [shall be] the sign that the LORD will heal me, and that I shall go up into the house of the LORD the third day? 9 And Isaiah said, This sign shalt thou have of the LORD, that the LORD will do the thing that he hath spoken: shall the shadow go forward ten degrees, or go back ten degrees? 10 And Hezekiah answered, It is a light thing for the shadow to go down ten degrees: nay, but let the shadow return backward ten degrees. 11 And Isaiah the prophet cried unto the LORD: and he brought the shadow ten degrees backward, by which it had gone down in the dial of Ahaz. (2 Kings 20: 8–11, King James Version)

# How to Type Math Symbols using HTML, Unicode, or ASCII

Check out the following two websites to type Math Symbols using HTML. Sometimes, it is more convenient to type Math Symbols using HTML rather than $\LaTeX$.

$\LaTeX$ on WordPress looks nice on the screen, but when printed the resolution can drop, and result in a blurred look.