WordPress plugins used here

I thought I would quickly highlight a few WordPress plugins I think are nice and that are in use here. First of all, you might have noticed that the text is justified. Well, not only that, but hyphens are used to break up words and split them on multiple lines. This all makes the lines even and very fine looking. What’s interesting, though, is that this fancy hyphenation algorithm is implemented client-side through a JavaScript library called Hyphenator.js. This is very easy to implement in a WordPress site by including the Hyphenator plugin and setting the text-align property to justify in the CSS.

On the subject of typography, I’ve also added a plugin for producing stunningly beautiful mathematical expressions. MathJax is a really impressive JavaScript library that interprets TeX and LaTeX (or MathML) syntax for mathematical formulas and outputs code that successfully degrades depending on your browser’s capabilities. MatJax comes in a nice plugin called MatJax-LaTeX.

$$\frac{4}{\pi}\left (\sin(\pi ft)+{1\over3}\sin(3\pi ft)+{1\over5}\sin(5\pi ft) + \cdots\right )$$

Lastly, I’m using the SyntaxHighlighter Evolved plugin which employs Alex Gorbatchev’s SyntaxHighlighter to produce nice looking syntax highlighted code snippets. Behold the beauty of Duff’s device:

 register n = (count + 7) / 8;      /* count > 0 assumed */

 switch (count % 8)
 {
 case 0:        do {  *to = *from++;
 case 7:              *to = *from++;
 case 6:              *to = *from++;
 case 5:              *to = *from++;
 case 4:              *to = *from++;
 case 3:              *to = *from++;
 case 2:              *to = *from++;
 case 1:              *to = *from++;
                    } while (--n > 0);
 }

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>