GithubHelp home page GithubHelp logo

chuandou / retex Goto Github PK

View Code? Open in Web Editor NEW

This project forked from himamis/retex

0.0 1.0 0.0 10.39 MB

Latex renderer for desktop, Android and GWT (fork of JLaTeXMath)

License: Other

Java 99.17% CSS 0.48% JavaScript 0.01% Shell 0.11% HTML 0.23%

retex's Introduction

ReTeX

This project is a fork of the original JLaTeXMath (http://forge.scilab.org/index.php/p/jlatexmath/), refactored to be used through different platforms, such as desktop, android and web (using GWT).

##Include in your project ###Using gradle ####Desktop

dependencies {
    compile project(':renderer:desktop') 
}

####Android

dependencies {
    compile project(':renderer:android') // for android API 7 and up
}

####GWT Web application

dependencies {
    compile project(':renderer:web'),
        project(':renderer:share'),
        files(project(':renderer:web').sourceSets.main.allSource.srcDirs),
        files(project(':renderer:share').sourceSets.main.java.srcDirs)
}

{AppName}.gwt.xml

<module>
    ...
    <inherits name='com.himamis.retex.renderer.web.JLaTeXMathGWT'/>
    ...
</module>

####Web application Grab the folder from renderer/web/dist. For examples please see renderer/web/war ##Usage

Before using the API, set the platform dependent factory instance.

Android

	FactoryProvider.INSTANCE = new FactoryProviderAndroid(getAssets());

Desktop

	FactoryProvider.INSTANCE = new FactoryProviderDesktop();

GWT Web application

	FactoryProvider.INSTANCE = new FactoryProviderGWT();

For details of the original API please see http://forge.scilab.org/index.php/p/jlatexmath/.

Web application

    jlmlib.drawLatex(options)

For parameters, please see renderer/web/war/index.html

Screenshots

Alt text

Alt text

Alt text

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.