Tag Archives: Wordpress

WordPress Plugin: LaTex for WordPress

Decided to have a go writing equations in the WordPress editor today. After some Google searches found this pretty promising WordPress Plugin called LaTex for WordPress. So I’ve decided to download and have a go at it. The plugin is built on the following concepts / tools:

MathJax –  an open source JavaScript display engine for mathematics that works in all browsers.

LaTex – the de facto standard for the communication and publication of scientific documents

i.e. one may build an equation within the WordPress editor by typing in LaTex syntax (in conjunction with the rules specified by the plugin). The MathJax engine “knows” what the LaTex syntax means and would display the equation onto the browser accordingly.

Well, something to try out in future posts!

Posting Source Code in WordPress Posts

Found this handy article on Posting Source Code in WordPress Posts today which I hope may enable me to start posting C++ codes via posts. It also says that for wordpress.org users (which I am) this the SyntaxHighlighter Evolved Plugin is required. I’ve decided to give it a try – to post the classic Hello World C++ Code in t his post and see what I get.


#include <iostream>

using namespace std;

int main()
{
cout << "Hello world!" << endl;
return 0;
}

Did it work?