iosMath icon indicating copy to clipboard operation
iosMath copied to clipboard

"1 \\ { 2 \\ 3 }" outputs "Mismatched Braces"

Open verybadcat opened this issue 7 years ago • 4 comments

Input "1 \\ { 2 \\ 3 }". Output is "Mismatched braces". I'm asking because of https://github.com/verybadcat/CSharpMath, which is a port of this repository; we have the same bug there.

See also https://stackoverflow.com/questions/50997777/the-rules-of-latex-mathjax-for-someone-implementing-it

verybadcat avatar Jun 23 '18 03:06 verybadcat

~~Request edit: should be "1 \\\\ { 2 \\\\ 3 }" (Each two backslashes are replaced by one because of Markdown itself's escape sequence)~~ Edit: Done!

Happypig375 avatar Jun 23 '18 04:06 Happypig375

Might be related to #91

Kamik423 avatar Jun 23 '18 06:06 Kamik423

@Kamik423 can you please help me out

how can i insert linebreak inside \text{}

my code is : label.latex = @"\\text{\(Highest degree=a \\ \newline \linebreak power \ of\ x^2\ is\ 2 \\ sum=6= a+2 \\ therefore\ a= 4\)}";

And none of the \\ , \newline , \linebreak works

deepakverma4 avatar Aug 23 '18 05:08 deepakverma4

Yes, that is exactly the described issue. There currently is no solution.

Kamik423 avatar Aug 23 '18 09:08 Kamik423