Learn R Programming

kableExtra (version 1.4.0)

usepackage_latex: Load a LaTeX package

Description

Load a LaTeX package using R code. Just like \\usepackage{} in LaTeX

Usage

usepackage_latex(name, options = NULL)

Arguments

name

The LaTeX package name

options

The LaTeX options for the package

Examples

Run this code
usepackage_latex("xcolor")

Run the code above in your browser using DataLab