xcolorPackage: LaTeX Package xcolor.

View source: R/colour.R

xcolor PackageR Documentation

LaTeX Package xcolor.

Description

Define a LaTeXPackage for the LaTeX xcolor package.

Usage

xcolorPackage()

Details

This function creates a "LaTeXpackage" object that provides support for the LaTeX xcolor package.

This allows commands like \color{blue} to be included in LaTeX snippets when calling grid.latex.

A predefined package is pre-registered under the name "xcolor".

Value

A "LaTeXpackage" object.

Author(s)

Paul Murrell

Examples

cat(author("test", packages="xcolor"), sep="\n")

xdvir documentation built on Aug. 8, 2025, 7:12 p.m.