Skip to contents

Render pic source to a PDF file

Usage

rpic_pdf(src, file, circuits = NULL, texlabels = NULL)

Arguments

src

pic source code: a pic() object or a single string.

file

output path.

circuits

load the native circuit-element library (or write copy "circuits" in the source itself). NULL (the default) takes the pic() object's setting, FALSE for a string.

texlabels

typeset fully $...$-delimited labels as TeX math (initializer only — the source can still set texlabels = 0). NULL (the default) takes the pic() object's setting, FALSE for a string.

Value

the file path, invisibly.