print_tex(io, elt, [container])
io as LaTeX code. The optional third argument allows methods to work differently depending on the container.
print_tex(String, ...) returns the LaTeX code as a
This method should indent as if at the top level, containers indent their contents as necessary. See
Print a string as is, terminated with a newline.
This is used as a workaround for LaTeX code that does not have a corresponding type, eg as elements in
LaTeXStrings are useful to avoid piling up backslashes. The newline is added to separate tokens.
Vectors are emitted elementwise without any extra whitespace as LaTeX code, using the
print_tex method for each element.
Real numbers are printed as is, except for non-finite representation.
f with an IO buffer, capture the output, print it to
io_main indended with four spaces.
io with indentation. Shortcut for the function wrapper of
print_indent for a single element.
Expand scanlines, which is a vector of scanline positions or an integer for repeated scanlines, into a
A file which is spliced directly to the preamble. Customize the file at this path for site-specific setting that apply for every plot.
The default preamble for LaTeX documents. Don't change this, customize