React Latex/Katex/MathJax

856 Views Asked by At

Help me to understand. How can I use latex in react in this way

\documentclass{article}
\usepackage{xlop}

\begin{document}
\opdiv{6000}{34}

\opdiv[maxdivstep=3]{6000}{34}
\end{document}

result/image

Maybe some extension for MathJax (I found longdiv.js and I can't connect it to MathJax config in react "use this package https://www.npmjs.com/package/better-react-mathjax" ) I can only render standart strings ($\frac{}{} \sqrt \cdot and etc..... $) and I don't understand how to use calculations and is it possible?

0

There are 0 best solutions below