lsymb {latexSymb}R Documentation

Create, print and turn to string objects of class latex_symb

Description

The class latex_symb is simply a wrapper for a string with LaTeX code. lsymb creates the wrapper, as.character and print extract the string.

Usage

lsymb(...)
## S3 method for class 'latex_symb'
print(x, ...)
## S3 method for class 'latex_symb'
as.character(x, ...)

Arguments

...

Objects that can be passed to as.character.

x

An object of class latex_symb

Value

Examples

al <- lsymb("\\alpha")
print(al)
as.character(al)

[Package latexSymb version 1.0.0 Index]