百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
J

jlatexmath-android

> 数据库
开源

aJLaTeXMath 库 - 在 Android 操作系统中显示 LaTeX 命令。

199 stars0 点赞3 次浏览
访问官网GitHub

工具介绍

aJLaTeXMath 库 - 在 Android 操作系统中显示 LaTeX 命令。

aJLaTeXMath

aJLaTeXMath Library - Displays LaTeX commands.
Russian bank card: 4817 7601 3803 3687

About

I find this page and think, why not?

aJLaTeXMath is an fork with a lot of modifications to support jlatexmath in Android OS.

Minimal SDK is 9. Tested on Android 2.3.4, 4.0.2, 4.4.4 and 5.0.1

© 2015 Maksim Bartosh

See AUTHORS file for all contributors' information.

Usage

Assets not support in android library. This project is a skeleton application.

To used JLaTeXMath need init it by command:

java
AjLatexMath.init(context); \\ init library: load fonts, create paint, etc.

To compilite math formula used TeXFormula class:

java
TeXFormula formula = new TeXFormula(formulaString);

To create bitmap used TeXIcon class:

java
TeXIcon icon = formula.new TeXIconBuilder()
.setStyle(TeXConstants.STYLE_DISPLAY)
.setSize(12)
.setWidth(TeXConstants.UNIT_PIXEL, 100, TeXConstants.ALIGN_LEFT)
.setIsMaxWidth(true)
.setInterLineSpacing(TeXConstants.UNIT_PIXEL,5).build();
icon.setInsets(new Insets(5, 5, 5, 5));
Bitmap image = Bitmap.createBitmap(icon.getIconWidth(), icon.getIconHeight(),Config.ARGB_8888);
Canvas g2 = new Canvas(image);
g2.drawColor(Color.WHITE);
icon.paintIcon(g2, 0, 0);

Fealture

  1. Support russian and greek fonts;
  2. Library create bitmaps. If bitmap draw in screen, then OS core may be throw exception Out of memory;
  3. Text size set in SP (look android docs);
  4. If InterLineSpacing setup, then formula may be create in multiline mode (Example7);
  5. Library support GraphicsBox, set absolutly path to file. Bitmap not scaled! OS core may be throw exception Out of memory.

Project base

android-support-v4.jar not must field. You can delete this lib.

Screenshots

Examples

…

See you again, dude:) 2015.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Javaajlatexmath-libraryandroidandroid-mathandroid-os

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类数据库
定价开源

> 相关工具

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库