R/environments.R

Defines functions lenv il

Documented in il lenv

il <- function(x) paste0("$", x, "$")

lenv <- function(name, rows){
	   paste0("\\begin{",
		  name,
		  "}",
		  Reduce(\(x,y) paste0(x,y), rows),
		  "\\end{",
		  name,
		  "}"
	   )
}

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.