R/latex.R

as.latex <- function(x, label = NULL,
                     inline = ifelse(is.null(label), TRUE, FALSE),
                     count = ifelse(is.null(label), FALSE, TRUE))
{
  out <- list(alt = x, inline = inline, count = count, label = label)
  class(out) <- "latex"
  return(out)
}

Try the hwriter5 package in your browser

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

hwriter5 documentation built on May 2, 2019, 6:15 p.m.