Skip to content

tranleduy2000/jlatex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JLatexMath Android

This is a fork of jlatextmath project that brings rendering of LaTeX math to Android. Fork tries to keep as close as possible to the parent project by mimicking java.awt.* package classes.

Installation

jlatexmath-android jlatexmath-android-font-cyrillic jlatexmath-android-font-greek

implementation 'ru.noties:jlatexmath-android:${version}'

// for Cyrillic symbols
implementation 'ru.noties:jlatexmath-android-font-cyrillic:${version}'

// for Greek symbols 
implementation 'ru.noties:jlatexmath-android-font-greek:${version}'

Screenshots

Other screenshots can be found ./app/screenshots folder

Usage

final JLatexMathDrawable drawable = JLatexMathDrawable.builder(latex)
        .textSize(70)
        .padding(8)
        .background(0xFFffffff)
        .align(JLatexMathDrawable.ALIGN_RIGHT)
        .build();
<ru.noties.jlatexmath.JLatexMathView
    android:id="@+id/j_latex_math_view"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:padding="16dip"
    android:background="@color/white"
    app:jlmv_alignVertical="center"
    app:jlmv_alignHorizontal="center"
    app:jlmv_textSize="16sp" />

Licence

GNU GENERAL PUBLIC LICENSE Version 2, June 1991

About

No description, website, or topics provided.

Resources

License

Unknown, GPL-2.0 licenses found

Licenses found

Unknown
LICENSE
GPL-2.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages