LatexRenderer

com.phasmidsoftware.number.algebra.util.LatexRenderer
See theLatexRenderer companion object
trait LatexRenderer[A]

Typeclass for rendering values as LaTeX mathematical expressions.

This typeclass provides a way to convert various mathematical types into their LaTeX representation for use in documents, presentations, or web display.

Type parameters

A

the type to render as LaTeX

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def toLatex(value: A): String

Converts a value to its LaTeX representation.

Converts a value to its LaTeX representation.

Value parameters

value

the value to render

Attributes

Returns

a String containing the LaTeX code