![]() |
VOOZH | about |
dotnet add package Aspose.TeX --version 26.6.0
NuGet\Install-Package Aspose.TeX -Version 26.6.0
<PackageReference Include="Aspose.TeX" Version="26.6.0" />
<PackageVersion Include="Aspose.TeX" Version="26.6.0" />Directory.Packages.props
<PackageReference Include="Aspose.TeX" />Project file
paket add Aspose.TeX --version 26.6.0
#r "nuget: Aspose.TeX, 26.6.0"
#:package Aspose.TeX@26.6.0
#addin nuget:?package=Aspose.TeX&version=26.6.0Install as a Cake Addin
#tool nuget:?package=Aspose.TeX&version=26.6.0Install as a Cake Tool
👁 NuGet Version
👁 NuGet Downloads
Product Page | Docs | API Reference | Examples | Blog | Releases | Support | Temporary License
Aspose.TeX for .NET is a powerful library for typesetting TeX/LaTeX files and converting them to various output formats. It enables C#, VB.NET, and ASP.NET developers to create, process, and render LaTeX documents without installing any third-party TeX distribution.
Convert LaTeX files to multiple output formats:
Render LaTeX math formulas as standalone images:
amsmath, amsfonts, amssymb)\includegraphics (PNG, EPS, PDF)\documentclass, \begin{document}, etc.)| Format | Input | Output |
|---|---|---|
| Plain TeX (.tex) | Yes | Yes |
| LaTeX (.ltx, .tex) | Yes | Yes |
| — | Yes | |
| XPS | Yes | Yes |
| SVG | — | Yes |
| PNG | — | Yes |
| JPEG | — | Yes |
| TIFF | — | Yes |
| BMP | — | Yes |
Package Manager Console:
Install-Package Aspose.TeX
.NET CLI:
dotnet add package Aspose.TeX
PackageReference:
<PackageReference Include="Aspose.TeX" Version="*" />
using Aspose.TeX;
using Aspose.TeX.IO;
using Aspose.TeX.Presentation.Pdf;
TeXOptions options = TeXOptions.ConsoleAppOptions(TeXConfig.ObjectLaTeX);
options.InputWorkingDirectory = new InputFileSystemDirectory("input");
options.OutputWorkingDirectory = new OutputFileSystemDirectory("output");
options.SaveOptions = new PdfSaveOptions();
new TeXJob("document.tex", new PdfDevice(), options).Run();
using Aspose.TeX.Features;
using System.Drawing;
using System.IO;
PngMathRendererOptions options = new PngMathRendererOptions
{
Resolution = 300,
Scale = 1000,
TextColor = Color.Black,
BackgroundColor = Color.White
};
PngMathRenderer renderer = new PngMathRenderer();
using (Stream stream = File.Create("formula.png"))
{
renderer.Render(@"\int_{0}^{\infty} e^{-x^2} dx = \frac{\sqrt{\pi}}{2}", stream, options);
}
using Aspose.TeX;
using Aspose.TeX.IO;
using Aspose.TeX.Presentation.Svg;
TeXOptions options = TeXOptions.ConsoleAppOptions(TeXConfig.ObjectLaTeX);
options.InputWorkingDirectory = new InputFileSystemDirectory("input");
options.OutputWorkingDirectory = new OutputFileSystemDirectory("output");
options.SaveOptions = new SvgSaveOptions();
new TeXJob("document.tex", new SvgDevice(), options).Run();
using Aspose.TeX.Features;
using Aspose.TeX.IO;
LaTeXRepairerOptions options = new LaTeXRepairerOptions();
options.InputWorkingDirectory = new InputFileSystemDirectory("input");
options.OutputWorkingDirectory = new OutputFileSystemDirectory("output");
new LaTeXRepairer("broken.tex", options).Run();
// Output: broken-fixed.tex (repaired file) + broken.log (validation report)
Aspose.TeX for .NET works in evaluation mode without a license, adding watermarks to the output. To remove evaluation limitations, apply a license before processing:
Aspose.TeX.License license = new Aspose.TeX.License();
license.SetLicense("Aspose.TeX.lic");
Get a temporary license for full-featured evaluation without watermarks.
| Platform | Versions |
|---|---|
| .NET Framework | 4.0 and higher |
| .NET Standard | 2.0 |
| .NET | 6.0, 7.0 |
Supported OS: Windows, Linux, macOS (any platform supporting .NET Standard 2.0+)
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 is compatible. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net40 net40 is compatible. net403 net403 was computed. net45 net45 was computed. net451 net451 was computed. net452 net452 was computed. net46 net46 was computed. net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 1 NuGet packages that depend on Aspose.TeX:
| Package | Downloads |
|---|---|
|
Aspose.Total
Aspose.Total for .NET is the most complete package of all .NET file format APIs offered by Aspose. It empowers developers to create, edit, render, print and convert between a wide range of popular document formats within any .NET, C#, ASP.NET and VB.NET applications. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 26.6.0 | 152 | 6/9/2026 |
| 26.4.0 | 1,826 | 4/25/2026 |
| 26.2.0 | 3,221 | 2/26/2026 |
| 25.12.0 | 2,748 | 12/19/2025 |
| 25.10.0 | 5,863 | 10/9/2025 |
| 25.8.0 | 4,392 | 8/17/2025 |
| 25.6.0 | 8,260 | 6/26/2025 |
| 25.4.0 | 12,873 | 4/11/2025 |
| 25.2.0 | 11,752 | 2/6/2025 |
| 24.12.0 | 14,049 | 12/13/2024 |
| 24.10.0 | 20,353 | 10/17/2024 |
| 24.9.0 | 5,077 | 9/5/2024 |
| 24.8.0 | 4,721 | 8/8/2024 |
| 24.7.0 | 4,037 | 7/1/2024 |
| 24.5.0 | 9,190 | 5/23/2024 |
| 24.3.0 | 10,011 | 3/12/2024 |
| 24.2.0 | 7,672 | 2/16/2024 |
| 23.12.0 | 15,857 | 12/15/2023 |
| 23.10.0 | 18,861 | 10/24/2023 |
| 23.8.0 | 31,007 | 8/14/2023 |