ShaMan123 / react-native-math-view

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

Inline in MathJax and react-native-math-view #37

Closed zinnen closed 3 years ago

zinnen commented 3 years ago

Inline or standalone math formulas are displayed different in the library compared to MathJax and LaTeX:

The attached file contains an example.

You can test the correct LaTeX behavior on: "https://www.mathjax.org/#demo: " using “$\sum{n=0}^\infty$ $$\sum{n=0}^\infty$$”

I would be surprised if you could not set this parameter when generating the SVG? Please excuse me for drilling so much. If I am completely wrong, please let me know.

Bildschirmfoto 2021-01-08 um 14 59 03
ShaMan123 commented 3 years ago

try the following:

<MathView 
 config={{inline:false}}
/>
ShaMan123 commented 3 years ago

edec442

zinnen commented 3 years ago

Thanks a lot. Perfect!!! Works.

Von: ShaMan123 notifications@github.com Antworten an: ShaMan123/react-native-math-view reply@reply.github.com Datum: Freitag, 8. Januar 2021 um 15:24 An: ShaMan123/react-native-math-view react-native-math-view@noreply.github.com Cc: Andreas Zinnen Andreas.Zinnen@hs-rm.de, Author author@noreply.github.com Betreff: Re: [ShaMan123/react-native-math-view] Inline in MathJax and react-native-math-view (#37)

try the following:

<MathView

config={{inline:false}}

/>

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/ShaMan123/react-native-math-view/issues/37#issuecomment-756775867, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACFPZAIQUESEYDKUKWX536DSY4HIZANCNFSM4V2PNDSQ.

ShaMan123 commented 3 years ago

V3.7.1