Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating a math keyboard using React and MathQuill

I have been trying to create a math keyboard using mathquill, like the one in the screen below, where you can insert math symbols and write over them to answer a question. Found some solutions, but none using react that do not require ReactDOM. Does anyone know how can I achieve something like that?

enter image description here

enter image description here

enter image description here

enter image description here

like image 611
Hawking23 Avatar asked May 02 '26 21:05

Hawking23


1 Answers

Creating math keyboard functionality can be done with MathKeyboardEngine in combination with any LaTeX typesetting library. So if there is a LaTeX typesetting library for React that does not require ReactDOM (like you stated you want) then you can use it in combination with MathKeyboardEngine.

  • Katex has a few packages for React, for example react-latex or react-katex, of which the first seems to not use ReactDOM.
  • MathJax also has React packages, for example better-react-mathjax.

I’m curious whether this will work. (I have no experience with React.)

like image 198
SymboLinker Avatar answered May 04 '26 12:05

SymboLinker



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!