Learn R Programming

hadron (version 3.1.2)

tikz.finalize: 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

Value

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

Details

Convenience Functions for tikzDevice

See Also

tikz.init

Other tikzutils: tikz.init()