Learn R Programming

caracas (version 2.1.1)

texshow: Dump latex representation of sympy object.

Description

Dump latex representation of sympy object and compile document into pdf.

Usage

texshow(x)

Value

Nothing, but a .tex file and a .pdf file is generated.

Arguments

x

An object that can be put in latex format with caracas' tex() function or a character string with tex code (in math mode).

Examples

Run this code
if (has_sympy()) {
S <- matrix_sym_symmetric(3, "s")
S
if (FALSE) {
texshow(S)
texshow(paste0("S = ", tex(S)))
}
}

Run the code above in your browser using DataLab