The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 4,224 other subscribers

Archive for October 4th, 2012

Displaying formulas using HTML (via: More TVM–calculating the IRR : Algorithms for the masses – julian m bucknall)

Posted by jpluimers on 2012/10/04

I saw julian Bucknall post some beautiful formatted functions in a few of his Algorithms for the masses blog and wondered how he did it.

[a = P . r^N . \frac { (1 – r) } { (1 – r^N) }]

Why is his formula code looking so simple, and why doesn’t it display on my blog?

So I asked him (:

Hi response was “use MathJax“:

I’m loading the MathJax JavaScript library in my pages:
http://www.mathjax.org/

Here’s the post where I talk about it and how I tweak the expressions:
http://blog.boyet.com/blog/blog/tightening-the-feedback-loop-when-writing-latex-expressions-for-mathjax/

If you want to experiment writing such expressions, I have the page I’m describing in the above post online:
http://blog.boyet.com/blog/files/uploads/MathJaxFeedback.html

There are various ways to include the MathJax JavaScript, and if you do, you can use both LaTeX and MathML style formulas. Read all about it on the MathJax Getting Started page.

–jeroen

via:

Posted in Development, HTML, Software Development, UI Design, Web Development | 2 Comments »

 
%d bloggers like this: