ShaMan123 / react-native-math-view

Math view for react native! No WebView!
https://github.com/ShaMan123/react-native-math-view
MIT License
77 stars 24 forks source link

How to draw \begin{cases} ? #46

Closed jcde closed 3 years ago

jcde commented 3 years ago

When trying to draw cases with latex like $\begin{cases}-5x+45>0\\\3x+4>0\end{cases}$

I see the message: LaTex parsing Error, Object { "id": "EnvMissingEnd", "math": "\begin{cases}", "message": "Missing \end{cases}", }

https://www.mathjax.org/#demo works normally and README.md links to "MathJax Supported LaTeX Commands" that includes \begin{cases}.

Do you have plans to support \begin{cases} ?

ShaMan123 commented 3 years ago

You have a typo image

image

ShaMan123 commented 3 years ago

This repo uses mathjax under the box, so whatever works there should work here