The most exciting phrase to hear in science, the one that heralds new discoveries, is not 'Eureka!' but 'That's funny...' --Isaac Asimov
That's Funny… random header image

testing inline LaTeX

September 10th, 2008 by eric

Using WordPress 2.6 and wp-latexrender and an installer. Success after jiggling with the paths and editing class.latexrender.php lines 197–224 to replace each instance of ‘\f’ with ‘\\f’.

For example, line 203 had to be changed from

$string .= "\\newsavebox{\formulabox}\n";


$string .= "\\newsavebox{\\formulabox}\n";

This change is apparently only necessary in PHP versions >5.2.5 (thanks to steve at sixthform for figuring that out).

[tex]e^{i\pi}+1 =0[/tex]

ta da!

Tags:   · No Comments

Leave A Comment

0 responses so far ↓

  • There are no comments yet...add one by filling out the form below.