jlatexmath-android

JLatexMath-Android

License

License

GroupId

GroupId

ru.noties
ArtifactId

ArtifactId

jlatexmath-android
Last Version

Last Version

0.2.0
Release Date

Release Date

Type

Type

aar
Description

Description

jlatexmath-android
JLatexMath-Android
Project URL

Project URL

https://github.com/noties/jlatexmath-android
Source Code Management

Source Code Management

https://github.com/noties/jlatexmath-android

Download jlatexmath-android

How to add to project

<!-- https://jarcasting.com/artifacts/ru.noties/jlatexmath-android/ -->
<dependency>
    <groupId>ru.noties</groupId>
    <artifactId>jlatexmath-android</artifactId>
    <version>0.2.0</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/ru.noties/jlatexmath-android/
implementation 'ru.noties:jlatexmath-android:0.2.0'
// https://jarcasting.com/artifacts/ru.noties/jlatexmath-android/
implementation ("ru.noties:jlatexmath-android:0.2.0")
'ru.noties:jlatexmath-android:aar:0.2.0'
<dependency org="ru.noties" name="jlatexmath-android" rev="0.2.0">
  <artifact name="jlatexmath-android" type="aar" />
</dependency>
@Grapes(
@Grab(group='ru.noties', module='jlatexmath-android', version='0.2.0')
)
libraryDependencies += "ru.noties" % "jlatexmath-android" % "0.2.0"
[ru.noties/jlatexmath-android "0.2.0"]

Dependencies

compile (1)

Group / Artifact Type Version
androidx.annotation » annotation jar 1.1.0

Project Modules

There are no modules declared in this project.

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

Versions

Version
0.2.0
0.1.2
0.1.1
0.1.0