#### Are you looking for an evaluation version of a product?

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

#### 文件详情

• 下载s:
• 2
• 文件大小:
• 67.9 MB
• Posted By:
• kolod
• Views:
• 9
• 添加日期:
• : 3 weeks ago [3/23/2022]

# 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 发行说明.