Presentation

t2t_math_ml is a script to be used together with txt2tags in order to translate formulas to MathML in the generated web pages. See it on GitHub.

This document is used as a test for the tool. It is also compiled to PDF.

Examples and Tests

This is a simple inline formula : x = y + z that should be parsed.

x = y + z at the begining of the line, or at the end of the line : x = y + z

Or even one formula x = y + z and another one x = y + z on the same line.

We can even have lines without any formulas !

This is a one line block formula : x = a + b + c

Can have space at the begining and at the and : x = a + b + c

This is a real math block : x = - b ± b 2 - 4 a c 2 a and another one : 0 f x + y d x = z .

It can also be on several lines: x = - x if x < 0 x otherwise