Skip to content
| Marketplace
Sign in
Visual Studio>Controls>Aspose.TeX for .NET
Aspose.TeX for .NET

Aspose.TeX for .NET

Aspose Marketplace

|
12 clicks
| (0) | Free Trial
On premsie API to typeset TeX file within the .NET Apps.
Get Started

.NET API to TypeSet TeX Files

Nuget Nuget

banner

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

Aspose.TeX for .NET 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

TeX

Save TeX As

XPS, PDF, JPEG, PNG, TIFF and BMP

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 .NET to build any type of a 32-bit or 64-bit .NET application including ASP.NET, WCF, WinForms, WPF, etc.

Get Started

Are you ready to give Aspose.TeX for .NET a try? Simply execute Install-Package Aspose.TeX from the Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.TeX for .NET and want to upgrade the version, please execute Update-Package Aspose.TeX to get the latest version.

Use C# to Obtain Typeset Document from XPS Device

You can execute the below code snippet to see how Aspose.TeX API performs against your own samples or check the GitHub Repository for other common usage scenarios.

TeXOptions options = TeXOptions.ConsoleAppOptions(TeXConfig.ObjectTeX());
options.JobName = "sample2-1";
options.InputWorkingDirectory = new InputFileSystemDirectory(_inputDirectory);
options.OutputWorkingDirectory = new OutputFileSystemDirectory(_outputDirectory);
options.TerminalOut = new OutputFileTerminal(options.OutputWorkingDirectory);

using(Stream stream = File.Open(Path.Combine(_outputDirectory, options.JobName + ".xps"), FileMode.Create))
TeX.Typeset("hello-world", new XpsDevice(stream), options);

options.TerminalOut.Writer.WriteLine();

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

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft