AngouriMath
Public Member Functions | List of all members
AngouriMath.Core.ILatexiseable Interface Reference

Any class that supports converting to LaTeX format should implement this interface More...

Inheritance diagram for AngouriMath.Core.ILatexiseable:
Inheritance graph
[legend]

Public Member Functions

string Latexise ()
 Converts the object to the LaTeX format That is, a string that can be later displayed and rendered as LaTeX More...
 

Detailed Description

Any class that supports converting to LaTeX format should implement this interface

using System;
using static AngouriMath.MathS;
Entity expr = "sqrt(a) + integral(sin(x), x)";
Console.WriteLine(expr);
Console.WriteLine(expr.Latexise());
Entity expr2 = "a / b ^ limit(sin(x) - cosh(y), x, +oo)";
Console.WriteLine(expr2);
Console.WriteLine(expr2.Latexise());

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]}}

Member Function Documentation

◆ Latexise()

string AngouriMath.Core.ILatexiseable.Latexise ( )

Converts the object to the LaTeX format That is, a string that can be later displayed and rendered as LaTeX

Implemented in AngouriMath.Core.EquationSystem.


The documentation for this interface was generated from the following file: