tikzTest: Test invocation of a LaTeX engine.

View source: R/deviceUtils.R

tikzTestR Documentation

Test invocation of a LaTeX engine.

Description

This function simulates the measurement of dimensions and prints detailed information in case of errors.

Usage

tikzTest(
  texString = "A",
  engine = getOption("tikzDefaultEngine"),
  documentDeclaration = getOption("tikzDocumentDeclaration"),
  packages
)

Arguments

texString

An arbitrary string for which the width is to be calculated. May contain LaTeX markup.

engine

a string specifying which TeX engine to use. Possible values are 'pdftex', 'xetex' and 'luatex'. See the Unicode section of tikzDevice-package for details.

documentDeclaration

See the sections "Options That Affect Package Behavior" and "Font Size Calculations" of tikzDevice-package for more details.

packages

See the section "Options That Affect Package Behavior" of tikzDevice-package.

See Also

tikz()


tikzDevice documentation built on May 29, 2024, 4:18 a.m.