Scala2LaTeX

scalation.mathstat.Scala2LaTeX
object Scala2LaTeX

The `Scala2LaTeX object provides methods for converting ScalaTion Equations into LaTeX.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def features2LatexEquation(features: Array[String], fEndo_enabled: LinkedHashSet[TransformT], fExo_enabled: Array[LinkedHashSet[TransformT]], includeHat: Boolean = ..., coeffSymbol: String = ..., errorSymbol: String = ...): String

Build a LaTeX equation from feature tokens.

Build a LaTeX equation from feature tokens.

Value parameters

coeffSymbol

coefficient symbol, e.g. "\beta"

errorSymbol

error term, e.g. "\varepsilon_t"

fEndo_enabled

enabled endo transforms (order matters)

fExo_enabled

enabled exo transforms per variable (order matters)

features

the feature names/tokens (any order/subset)

includeHat

whether to render \hat{y}_t on LHS

Attributes

def make_body(): String
def make_doc(body: String): String

Make a LaTeX document.

Make a LaTeX document.

Value parameters

body

the body of the LaTex document

Attributes

def make_equation(equation: String): String

Make a LaTeX equation with the begin and end tags.

Make a LaTeX equation with the begin and end tags.

Value parameters

equation

the LaTex equation proper

Attributes

def make_table(caption: String, name: String, x: MatrixD, colName: String = ..., rowName: Array[String] = ...): String

Make a LaTeX table from a matrix.

Make a LaTeX table from a matrix.

Value parameters

caption

the caption for the table

colName

the column names

name

the table name

rowName

the row names

x

the matrix of data

Attributes