Browse our Products

If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.

 

Aspose.TeX for .Net 22.3

Download  Support Forum 

File Details

  • Downloads:
  • 2
  • File Size:
  • 67.9 MB
  • Posted By:
  • kolod
  • Views:
  • 9
  • Date Added:
  • : 3 weeks ago [3/23/2022]

File Details

Support for TeX to SVG conversion

Support has been added to convert TeX to SVG format.

TeX Math Formula Rendering to SVG

Support has been implemented for the TeX-based Math formulas rendering to SVG format. The following is a simple C# example to render the Math Formula to SVG using API:

/ Create rendering options.
MathRendererOptions options = new SvgMathRendererOptions();
// Specify the preamble.
options.Preamble = @"\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{color}";
// Specify the scaling factor 300%.
options.Scale = 3000;
// Specify the foreground color.
options.TextColor = System.Drawing.Color.Black;
// Specify the background color.
options.BackgroundColor = System.Drawing.Color.White;
// Specify the output stream for the log file.
options.LogStream = new MemoryStream();
// Specify whether to show the terminal output on the console or not.
options.ShowTerminal = true;

// The variable in which the dimensions of the resulting image will be written.
System.Drawing.SizeF size = new System.Drawing.SizeF();
// Create the output stream for the formula image.
using (Stream stream = System.IO.File.Open(
    Path.Combine(RunExamples.OutputDirectory, "math-formula.svg"), FileMode.Create))
{
    new SvgMathRenderer().Render(@"\begin{equation*}
e^x = x^{\color{red}0} + x^{\color{red}1} + \frac{x^{\color{red}2}}{2} + \frac{x^{\color{red}3}}{6} + \cdots = \sum_{n\geq 0} \frac{x^{\color{red}n}}{n!}
\end{equation*}", stream, options, out size);
}

// Show other results.
System.Console.Out.WriteLine(options.ErrorReport);
System.Console.Out.WriteLine();
System.Console.Out.WriteLine("Size: " + size);

Support for PS/EPS & XPS/OXPS Graphics

Added the support for graphics inclusion in the PS (PostScript), EPS (Encapsulated PostScript), XPS (XML Paper Specification), and OXPS (Open XML Paper Specification) formats.

Support for tikz Package

This release of API offers the support for tikz Package which can be used to create complex graphic elements in LaTeX.

For a complete list of features, enhancements, and bug fixes in this release please visit, Aspose.TeX for .NET 22.3 Release Notes.

 English