AngouriMath

Navigation

← Back to list of members

Latex​(AngouriMath.​Core.​ILatexiseable)

 Method (no overloads)

Returns

The LaTeX representation of the argument

Parameter "latexiseable"

Any element (Entity, Set, etc.) that can be represented in LaTeX

Example

using System;
using AngouriMath;
using static AngouriMath.MathS;

Entity expr = "sqrt(a) + integral(sin(x), x)";
Console.WriteLine(expr);
Console.WriteLine(Latex(expr));
Entity expr2 = "a / b ^ limit(sin(x) - cosh(y), x, +oo)";
Console.WriteLine(expr2);
Console.WriteLine(Latex(expr2));

Prints
sqrt(a) + integral(sin(x), x)
\sqrt{a}+\int \left[\sin\left(x\right)\right] dx
a / b ^ limit(sin(x) - (e ^ y + e ^ (-y)) / 2, x, +oo)
\frac{a}{{b}^{\lim_{x\to \infty } \left[\sin\left(x\right)-\frac{{e}^{y}+{e}^{-y}}{2}\right]}}

























Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 1534 pages online