Wednesday, January 17, 2007

Math in HTML

The following is a test of mathematics in pure HTML with no MathML or images involved:

 1 
 2 
 = 0.5

2
 = 1.414213562373…

20 = c

20א = c

eπi + 1 = 0

ζ(s) = 
n = 1
.1.
 ns 
 = 
k = 1
.1.
 1 – 
.1.
 pks 
 

Addendum: The above looks slightly better in Firefox than in Explorer.

Another Addendum: After reading this (seen via Geek Press), I had to add the following:

 1 
 2 
 < mod(⌊
 y 
 17 
2–17⌊x⌋ – mod(⌊y⌋,17), 2)⌋

No comments:

Post a Comment