Java和Objective C的LateX渲染[关闭](LateX rendering for both Java and Objective C [closed])

编程入门 行业动态 更新时间:2024-10-22 05:13:48
Java和Objective C的LateX渲染[关闭](LateX rendering for both Java and Objective C [closed])

我正在寻找一个LateX库来渲染公式。

该项目是智能手机应用程序的数学\物理公式的离线数据库。 我需要应用程序不要太重 ,用户可以输入自己的公式。 所以我希望程序渲染书面公式,而不是显示更重的PNG文件。

第二个棘手的部分是应用程序将在Android(我的部分)和IPhone(另一个开发者将会这样做)上。

两个案例(SQLite)中的数据库是相同的,因此我们需要渲染相同的书面公式,最好是Latex。 但它可以是不同的库。

你有什么主意吗 ?

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

The project is an offline database of math\physic formulas for a Smartphone application. 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 ?

最满意答案

看看MathJax 。 此Javascript库将TeX命令呈现为数学公式。 这变得越来越流行,许多科学和数学期刊网站正在采用它来在线渲染方程式。

通常MathJax应用于整个网页,一次渲染所有方程; 它对于电脑来说非常好,但我发现它在iPhone / iPad上有点慢。 我猜它在Android上类似。

但是,您应该能够仅使用渲染部分而不会造成太多性能损失。

无论如何,不​​要重新发明轮子; 相反,请为MathJax做出贡献!

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!

更多推荐

本文发布于:2023-08-04 14:51:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1417681.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Objective   Java   LateX   closed   rendering

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!