Crate rust_tikz

Source

Structs§

WasmRunner
Holds the TeX engine and initialized wasmr runtime. This object stubs out all of the system calls that the WASM-compiled TeX engine needs to run.

Functions§

tex2svg
Convert a TeX string to SVG using the given WasmRunner. This function can be called multiple times with the same WasmRunner.
text2svg_simple
Convert input into an SVG string. This function creates a new WasmRunner each time it is called. If you want to convert multiple strings, it is more efficient to use tex2svg instead.