bundle.latex.document¶
Attributes¶
Classes¶
Module Contents¶
- class bundle.latex.document.Theme(background: str = '121212', text: str = 'E0E0E0', accent: str = '87CEEB', row_alt: str = '1E1E1E')¶
Color theme for a LaTeX document.
- background = '121212'¶
- text = 'E0E0E0'¶
- accent = '87CEEB'¶
- row_alt = '1E1E1E'¶
- bundle.latex.document.DARK_THEME¶
- class bundle.latex.document.Document(title: str, author: str = 'TheBundle', landscape: bool = True, theme: Theme | None = None, margin: str = '0.75in')¶
Build a complete LaTeX document and compile to PDF.
- PACKAGES = ['graphicx', ('xcolor', 'table'), 'geometry', 'booktabs', 'longtable', 'hyperref', ('inputenc',...¶
- title¶
- author = 'TheBundle'¶
- landscape = True¶
- theme¶
- margin = '0.75in'¶
- add_section(section: bundle.latex.elements.Section)¶
- save_pdf(output_path: pathlib.Path)¶
Compile and save the document to a PDF file.