jianzhongli / MathView

A library for displaying math formula in Android apps.
Apache License 2.0
1.01k stars 188 forks source link

Unable to add newline #22

Closed Zoha131 closed 8 years ago

Zoha131 commented 8 years ago

I am absolutely new in programming.

I have googled but the solutions show how to add new line in MathJax but that method didn't work in MathView. I have tried this

http://meta.math.stackexchange.com/questions/11720/new-line-within-mathjax

But that didn't work. Please help me.

Zoha131 commented 8 years ago

I have solved the problem. What I have learned that every '\' character needs to be escaped in Java code. So to have a new line I must have to add '\\' instead of '\'.

sudhanshunathmishra commented 7 years ago

Hi, could you please clarify how you added newline? I have tried '\', '\', \\' with no avail for both MathJax and KaTex

Zoha131 commented 7 years ago

try this '\\\\' four '\'.