Quantcast
Channel: HTML – The Wiert Corner – irregular stream of stuff
Viewing all articles
Browse latest Browse all 60

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

$
0
0

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 forumla 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:


Filed under: Development, HTML, Software Development, UI Design, Web Development

Viewing all articles
Browse latest Browse all 60

Trending Articles