TeX is a programming language used to create document typesetting programs. At the same time, TeX is an interpreter engine capable of processing such programs. TeX is also a typesetting system as a whole.

It is mainly used for typesetting mathematical or technical texts. Many different packages can be developed based on ΤeΧ to simplify the task. The most common such package is LaTeX. It lets authors focus on the text and leave the typography process to the engine. LaTeX even allows using markup tagging conventions in certain cases. LaTeX makes structured documents easy to create and maintain.

Aspose.TeX for .NET is a flexible and easy-to-use library to process TeX and LaTeX files. The API supports multiple output formats like XPS, PDF, PNG, JPEG, TIFF, SVG, and BMP. This means that due to the functionality of this library, you can convert TeX and LaTeX files to any of the output formats. With the solution, you can create your own TeX format if you want to create a set of documents consistently.

Advanced .NET TeX Files Typesetting API Features

Typeset TeX Files

Aspose.TeX for .NET can easily typeset TeX files to get documents in various formats.

Load and save TeX files - C#

// Create conversion options for Object LaTeX format upon Object TeX engine extension.
TeXOptions options = TeXOptions.ConsoleAppOptions(TeXConfig.ObjectLaTeX);
// Specify the input working directory if needed.
// It is required when the main input has dependencies (e.g. images).
options.InputWorkingDirectory = new InputFileSystemDirectory(RunExamples.InputDirectory);
// Specify a file system working directory for the output.
options.OutputWorkingDirectory = new OutputFileSystemDirectory(RunExamples.OutputDirectory);

// Run the job.
new TeXJob(System.IO.Path.Combine(RunExamples.InputDirectory, "hello-world.tex"), new XpsDevice(), options).Run();

Aspose.TeX for .NET provides an easy-to-use mechanism for converting TeX and LaTeX files to PDF, XPS, SVG, and image formats. The conversion process can be configured to control the quality of images and other properties of the output document.
The solution also offers various conversions like:

  

Support and Learning Resources

  
  

Aspose.TeX offers individual APIs for popular development environments as listed below: