These methods convert R objects to character vectors with BibTeX or LaTeX markup.
toBibtex(object, …) toLatex(object, …) # S3 method for Bibtex print(x, prefix = "", …) # S3 method for Latex print(x, prefix = "", …)
object of a class for which a
toLatex method exists.
object of class
a character string which is printed at the beginning of each line, mostly used to insert whitespace for indentation.
in the print methods, passed to
Objects of class
"Latex" are simply
character vectors where each element holds one line of the
corresponding BibTeX or LaTeX file.