R/main.R

Defines functions print.latex_symb as.character.latex_symb lsymb

Documented in as.character.latex_symb lsymb print.latex_symb

lsymb <- function(...){
	     x <- paste(...) |> list(repr = _)
	     class(x) <- "latex_symb"
	     return(x)
         }

as.character.latex_symb <- function(x, ...) base::as.character(x$repr, ...)

print.latex_symb <- function(x, ...) base::print(x$repr, ...)

Try the latexSymb package in your browser

Any scripts or data that you put into this service are public.

latexSymb documentation built on June 17, 2025, 9:12 a.m.