Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
How can i use latex in pyui TextView
-
I want to wtrie latex(eg. matrix) in TextView(pyui file). How can i do it.
Wish your help. Thanks -
I do not think you can install Latex on Pythonista. Maybe you could send the text to an online service for compilation, either via screen scraping or the Common Latex Service Interface CLSI. Based on a quick Google, screen scraping is probably much easier.
But you will not be able to do this in the UI editor alone.
-
@mikael
Oh, I see. Thanks a lot. -
You can use webview and mathjax to display latex. Here is an example to display matrix.
https://gist.github.com/5eee7b48ea86f6ef8edc24c276df9d1a -
@enceladus
Thank you very much. I confirmed what can do.
It's a wonderful hint for me.
I am sorry for my poor english and later reply.
Thanks again.