Rendering mathematical formulas on an iDevice

对着背影说爱祢 提交于 2019-12-18 13:29:39

问题


Is there any support for rendering/displaying mathematical formulas under iOS? I'm assuming there's nothing built-in to the OS itself, so a solution that is free-as-in-beer and won't cause my app to get rejected are priorities.

Is anyone aware of such a library?


回答1:


I had a similar requirement for a project at one point, and I was planning on using Texify to either render equations in-app using a UIWebVIew or pre-render forumulae offline and then include the renderings (as static images) in the app. I ended up doing neither because the requirement changed.




回答2:


There is no built-in support for this in iOS. The general answer for questions regarding custom text layout is to use a UIWebView, which gives you powerful control over the layout and rendering of text and symbols via HTML and CSS. You might want to explore that as an option, if there aren't any ready-made solutions more suited to your needs.




回答3:


You might want to know that there is already an TeX editor vor iOS available, called TeX Touch. It submits the .tex files to a server, which returns the rendered files. Exchange is done via Dropbox: http://www.vancapy.com/textouch/



来源:https://stackoverflow.com/questions/4340478/rendering-mathematical-formulas-on-an-idevice

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!