tikz#

Interfaces#

TikzOptions#

Defined in: writers/src/tikz.ts:12

The TikZ options.

Properties#

fontDirectory?#

readonly optional fontDirectory?: string

Defined in: writers/src/tikz.ts:20

The directory holding both font files, . by default. It is written verbatim into the document, so it must hold none of ~ \ " % # { } (UNWRITABLE_DIRECTORY).

standalone?#

readonly optional standalone?: boolean

Defined in: writers/src/tikz.ts:14

A complete LuaLaTeX document (default), or the tikzpicture environment alone.

Functions#

writeTikz()#

writeTikz(placed, options_?): string

Defined in: writers/src/tikz.ts:167

Write placed drawings as TikZ.

Parameters#

placed#

readonly Placed[]

options_?#

TikzOptions = {}

Returns#

string

Throws#

if options.fontDirectory holds a character the document cannot carry (~, \, ", %, #, {, }), naming it.