class documentation

class DocumentClass(object):

View In Hierarchy

Details of a LaTeX document class.
Method __init__ Undocumented
Method latex​_section​_depth Return LaTeX equivalent of Docutils section level depth.
Method section Return the LaTeX section name for section level.
Instance Variable document​_class Undocumented
Instance Variable sections Undocumented
Instance Variable ​_with​_part Undocumented
def __init__(self, document_class, with_part=False):

Undocumented

def latex_section_depth(self, depth):

Return LaTeX equivalent of Docutils section level depth.

Given the value of the :depth: option of the "contents" or "sectnum" directive, return the corresponding value for the LaTeX tocdepth or secnumdepth counters.

def section(self, level):

Return the LaTeX section name for section level.

The name depends on the specific document class. Level is 1,2,3..., as level 0 is the title.

document_class =

Undocumented

sections: list[str] =

Undocumented

_with_part =

Undocumented