pgf_print: Printing functions for 'knitr'

Description Usage Arguments Details Value

Description

The knit_print functions fot pgfvalue and pgfkeyvalue return LaTeX-code to set key-value pairs using LaTeX's pgfkeys-package.

.pgfPath is an auxilliary function to get the pgf-keys' path.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
pgf_print(x, options, ...)

## Default S3 method:
pgf_print(x, options, ...)

## S3 method for class 'pgfkeyvalue'
pgf_print(x, options, ...)

## S3 method for class 'pgfvalue'
pgf_print(x, options, ...)

## S3 method for class 'data.frame'
pgf_print(x, options, ...)

.pgfPath(options)

Arguments

x

key value pairs to pass to pgf-keys

options

list of current chunk options. For used chunk options, see the "Chunk Options" section.

Details

Chunk Options:

setValue

if TRUE \pgfkeyssetvalue is used instead of \pgfkeys

path

path for pgf-keys

change_dir

if TRUE .cd-handler is used instead of setting path for each key explicitely

rm_unnamed

if TRUE unname values are omitted, if FALSE and names are missing, an error is returned

colSep

delimiter to separate columns in LaTeX tables

rowSep

delimiter to separater rows in LaTeX tables

tabName

name to store read table

For objects x of S3 class pgfkeyvalue knit_print returns LaTeX code to set pgf key-value pairs using \pgfkeyssetvalue{key}{value}.

Value

The internal function .pgfPath returns the full path for pgfkeys with one attribute change_dir.


mlkornexl/pgfKeys documentation built on May 14, 2019, 2:17 p.m.