tikz.finalize: tikz.finalize

View source: R/tikzutils.R

tikz.finalizeR Documentation

tikz.finalize

Description

initialize and finalize a tikzDevice and carry out optional post-processing

Usage

tikz.finalize(tikzfiles, crop = TRUE, margins = 0, clean = TRUE)

Arguments

tikzfiles

a list with members $pdf, $tex, $aux and $log, returned by tikz.init which must be passed to tikz.finalize

crop

boolean indicating whether pdfcrop should be called on the resulting pdf ( existence of pdfcrop is checked before the command is called ), default TRUE

margins

margins argument for pdfcrop command, should be passed as a string consisting of one or multiple numbers (e.g. "10" or "10.5 7.5 6.2 10"), default 0

clean

boolean indicating whether temporary files, e.g. "basename.tex", "basename.aux" and "basename.log" should be deleted after the pdf has been generated, default TRUE

Details

Convenience Functions for tikzDevice

Value

No return value, but the output PDF will be created and cropped.

Author(s)

Bartosz Kostrzewa, bartosz.kostrzewa@desy.de

See Also

tikz.init

Other tikzutils: tikz.init()


hadron documentation built on Sept. 9, 2022, 5:06 p.m.