hltflow.latex

Adds functionality to make LaTeX figures from the raw TikZ code produced by core.StreamerFlowchart.

hltflow.latex.indent(spaces, multilinestring)[source]

Indents a given multilinestring by a given number of spaces. This is used to produce properly formatted LaTeX documents.

hltflow.latex.make_document(figures)[source]

Generates a LaTeX document from a given list of figures produced by hltflow.latex.make_figure.

hltflow.latex.make_figure(sf, tikzoptions='node distance=.75cm and 2.75cm')[source]

Generates a LaTeX figure from a given hltflow.core.StreamerFlowchart. Additionally, tikzoptions can be supplied manually.