New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Equation in many lines #344
Comments
I found this problem too, when I tried to recognize the matrix. It returns the first line of the matrix, and the grammar is false. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried some equations having many lines.
It usually gives the latex script in the form of array like this:
$\begin{array}{c}{{H(t)=\frac{1}{2}\omega_{1}\sigma_{1}^{z}+\cos\left(\omega_{1}^{d}t\right)\left(\Omega_{1}^{z}\sigma_{1}^{z}+\Omega_{1}^{x}\sigma_{1}^{x}\right)}}\ {{}}&{{+\ \cos\left(2\omega_{1}^{d}t\right)\left(\xi_{1}^{z}\sigma_{1}^{z}+\xi_{1}^{x}\sigma_{1}^{x}\right)+\sin\left(2\omega_{1}^{d}t\right)\xi_{1}^{y}\sigma_{1}^{y}}}\ {{}}&{{+\frac{1}{2}\omega_{2}\sigma_{2}^{x}-J\sigma_{1}^{x}\sigma_{2}^{x}.}}\end{array}$
Original one in a paper:
Screenshot taken from latexocr gui:
It is helpful enough to get the script, but can you find better way for such a multi-line eqaution, for example, using other environment like \begin{equation} \begin{aligned} ... \end{aligned} \end{equation}?
Also, it seems not working well for equations more than 4 lines... It usually omits one of the lines.
The text was updated successfully, but these errors were encountered: