iosMath icon indicating copy to clipboard operation
iosMath copied to clipboard

Math Jax text not wokring in iosMath

Open nagarajuios opened this issue 8 years ago • 9 comments

Hi I have a problem with MTMathUILabel , In my app maths questions are creating with math jax but i want to display questions with Letex. Can you please provide me some solution.

nagarajuios avatar Jan 17 '17 13:01 nagarajuios

Can you please elaborate on your question or provide me an example of where it is not working?

Are you referring to the \\text command not working? If so, it is currently in progress. See #12.

kostub avatar Jan 17 '17 17:01 kostub

Am using MathJax generated code means maths equations are not displaying in MTMathUILabel

nagarajuios avatar Jan 20 '17 18:01 nagarajuios

Can you please add the latex code that MathJax is generating? You do not need to use MathJax if you use MTMathUILabel.

kostub avatar Jan 20 '17 18:01 kostub

@nagarajuios Just want to clarify the problem, are you saying MathJax generated Latex won't show (or won't show correctly) in MTMathUILabel? If so, would you like to post code snippet(s)?

AnZhg avatar Jan 20 '17 18:01 AnZhg

\begin{bmatrix} 1 &-1 &4 \ 0 &6 &7 \ 0 &0 &9 \end{bmatrix} matrix not showing simulator screen shot jan 21 2017 12 26 37 am

nagarajuios avatar Jan 20 '17 18:01 nagarajuios

\ (back slash and a space) will give you a space, and I used this method in my own code. This can be used as a quick fix. But I'm not sure why & shows as amp;.

AnZhg avatar Jan 20 '17 19:01 AnZhg

Are you sure the text says & and not &? A web view will display & as an &.

kostub avatar Jan 20 '17 19:01 kostub

Yes, Because mathjax supports in webview only.

nagarajuios avatar Jan 20 '17 19:01 nagarajuios

iosMath expects the text to be formatted as proper LaTeX. & is not valid LaTeX and thus cannot be understood. Can you please provide an example of your code where you are setting up the bmatrix, which is displaying incorrectly?

kostub avatar Jan 23 '17 01:01 kostub