as_latex: Convert objects to LaTeX

Description Usage Arguments Value Methods (by class) See Also

Description

This is the preferred method to convert objects to a latex object. It is a generic function, so it can be defined for different classes. The default is to convert an object to a character vector and use escape_latex to escape special LaTeX symbols.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
as_latex(x, ...)

## Default S3 method:
as_latex(x, ...)

## S3 method for class 'latex'
as_latex(x, ...)

## S3 method for class 'NULL'
as_latex(x, ...)

Arguments

x

The object to convert

...

Other arguments used by methods

Value

An object of class "tex".

Methods (by class)

See Also

LaTeX for a description of code "latex" objects.


jrnold/textools documentation built on May 20, 2019, 2:06 a.m.