Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
J

jlatexmath-android

> 数据库
Open source

aJLaTeXMath Library - Displays LaTeX commands in android OS.

199 stars0 likes3 views
WebsiteGitHub

About

aJLaTeXMath Library - Displays LaTeX commands in android OS.

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 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Javaajlatexmath-libraryandroidandroid-mathandroid-os

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category数据库
PricingOpen source

> Related tools

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