Git Product home page Git Product logo

jlatexmath-android's Introduction

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

jlatexmath-android's People

Contributors

calixteman avatar sylvestre avatar davidmoten avatar noties avatar fnatter avatar opcodevoid avatar vlad-ivanov-name avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.