开发者

LateX rendering for both Java and Objective C [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 years ago.

Improve this question

I'm looking for a LateX library to render formulas.

The project is an offline database of math\physic formulas for a Smartphone a开发者_如何转开发pplication. I need the application to be not too heavy, and that users can enter their own formulas. So i want the program to render written formulas more than to display PNG files that are heavier.

The second tricky part is that the application will be both on Android (my part) and IPhone (another developper will do it).

The database will be the same in the two cases (SQLite), so we need to render the same written formulas, and preferably it will be Latex. But it can be different libraries.

Do you have any idea ?


Have a look at MathJax. This Javascript library renders TeX commands into math formulas. This is becoming more and more popular, many science and mathematical journal websites are adopting it to render equations online.

Usually MathJax is applied to the entire webpage to render all the equations at once; it's perfectly fine for computers, but I found it's a bit slow on iPhone / iPad. I guess it's similar on Android.

You should be able to use just the rendering part without much performance penalty, though.

Anyway, don't re-invent the wheel; instead, please contribute to MathJax!


There is a project called "VerbTeX" which basically edits the latex file on the phone but the latex command is run on a server. Perhaps you can either get an agreement with them and convince them to have a PNG (or whatever) rendering as well or you can build your own server side latex rendering. Of course, this depends on whether a server side solution is acceptable to you.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜