Skip to content

How to not include the default packages? (issue metrics calculation) #221

@stla

Description

@stla

Hello,

I don't want to use the getOption("tikzLatexPackages") packages, because it is enough to use:

documentDeclaration = "\\documentclass[tikz]{standalone}\n"

without any package.

But when I try packages = "" or packages = "\n" or packages = NULL, the tikz device does not work: there's some error messages claiming that

TeX was unable to calculate metrics for: m

However if I generate the LaTeX file with the default packages, and I remove the package declarations from this file, I can compile it without any issue.

And there's no m in my plot, it just plot(0, 0, pch = 19).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions