Fork me on GitHub


The examples/ directory contain some ready to use examples using MathLive:

  • examples/basic/ create a mathfield, read its content when it changes, and outputs it as LaTeX
  • examples/mathjs/ create a mathfield, read its content as an AST (Abstract Syntax Tree) and use the mathjs library to evaluate it.
  • examples/speech/ provides a simple user interface to read a math equation in "karaoke" mode, using text to speech and synchronized highlighting.
  • examples/virtual_keyboard/ provides a simple example on how to customize the virtual keyboard by implementing a keyboard mimicking the HP-15C calculator
  • examples/vue/ example using the MathLive Vue.js wrapper