Skip to content
/ ReTeX Public
forked from himamis/ReTeX

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

License

Unknown, GPL-2.0 licenses found

Licenses found

Unknown
LICENSE
GPL-2.0
COPYING
Notifications You must be signed in to change notification settings

chuandou/ReTeX

 
 

Repository files navigation

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

About

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

Resources

License

Unknown, GPL-2.0 licenses found

Licenses found

Unknown
LICENSE
GPL-2.0
COPYING

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.2%
  • Other 0.8%