compile(group: 'com.aspose', name: 'aspose-tex', version: '22.8')
<dependency org="com.aspose" name="aspose-tex" rev="22.8">
    <artifact name="aspose-tex" ext="jar"/>
libraryDependencies += "com.aspose" % "aspose-tex" % "22.8"

Java API to TypeSet TeX Files


Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

Aspose.TeX for Java is a library that provides a TeX engine extension called ObjectTeX. It can be used to typeset documents described by TeX files. Object means that intermediarytypesetting result is a specific object model which then can be uniformly converted into a number of end formats.

TypeSetting File Processing Features

  • Typesetting of TeX files
  • Create custom TeX formats
  • Provide input data in various ways
  • Fetch output data in various ways

Supported Input Formats


Save TeX As


Supported Embedded Fonts for Typesetting

cmbsy10, cmbx10, cmbx5, cmbx6, cmbx7, cmbx8, cmbx9, cmcsc10, cmdunh10, cmex10, cmmi10, cmmi5, cmmi6, cmm7, cmmi8, cmmi9, cmmib10, cmr10, cmr5, cmr6, cmr7, cmr8, cmr9, cmsl10, cmsl8, cmsl9, cmsltt10, cmss10, cmssbx10, cmssi10, cmssq8, cmssqi8, cmsy10, cmsy5, cmsy6, cmsy7, cmsy8, cmsy9, cmti10, cmti7, cmti8, cmti9, cmtt10, cmtt8, cmtt9, cmu10

Supported Platforms

You can use Aspose.TeX for Java to build any type of Java application for Windows (32-bit or 64-bit) Linux, and macOS. Aspose.TeX for Java supports the J2SE 8.0 (1.8) or above (for example Java 10).

Use Java to Create a Custom TeX Format

// Create typesetting options for no format on ObjectTeX engine extension.
TeXOptions options = TeXOptions.consoleAppOptions(TeXConfig.objectIniTeX());
// Specify a file system working directory for input.
options.setInputWorkingDirectory(new InputFileSystemDirectory(Utils.getInputDirectory()));
// Specify a file system working directory for output.
options.setOutputWorkingDirectory(new OutputFileSystemDirectory(Utils.getOutputDirectory()));

// Run format creation.
TeX.createFormat("customtex", options);

// For further output to look write.

Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

VersionRelease Date
22.8August 25, 2022
22.6June 16, 2022
22.4April 5, 2022
22.3March 25, 2022
22.2February 8, 2022
21.11November 11, 2021
21.9September 20, 2021
21.8August 26, 2021
21.4April 8, 2021