Module pyreport.base.latex_object

This module contains the abstract base class LaTeXObject.

Classes

class LaTeXObject (name)

Abstract base class for all LaTeX objects.

Constructor for LaTeXObject. Note that this class cannot not be instantiated.

Parameters

name : str
Name of object.

Ancestors

  • abc.ABC

Subclasses

Methods

def texify(self, file, indent_level=0)

Writes the object to a .tex-file.

Parameters

file : file
File to write to.
indent_level : int, optional
Indentation level, by default 0.