pyfeyn2.render.all¶
Module Contents¶
Classes¶
Render all diagrams to PDF. |
- class pyfeyn2.render.all.AllRender(fd, documentclass='standalone', document_options=['varwidth'], *args, **kwargs)[source]¶
Bases:
pyfeyn2.render.latex.LatexRenderRender all diagrams to PDF.
- Parameters:
default_filepath (str) – The default path to save files.
documentclass (str or ~.Command) – The LaTeX class of the document.
document_options (str or list) – The options to supply to the documentclass
fontenc (str) – The option for the fontenc package. If it is None, the fontenc package will not be loaded at all.
inputenc (str) – The option for the inputenc package. If it is None, the inputenc package will not be loaded at all.
font_size (str) – The font size to declare as normalsize
lmodern (bool) – Use the Latin Modern font. This is a font that contains more glyphs than the standard LaTeX font.
textcomp (bool) – Adds even more glyphs, for instance the Euro (€) sign.
page_numbers (bool) – Adds the ability to add the last page to the document.
indent (bool) – Determines whether or not the document requires indentation. If it is None it will use the value from the active config. Which is True by default.
geometry_options (dict) – The options to supply to the geometry package
data (list) – Initial content of the document.