|
| output |
| Stores the outputted latex-code.
|
|
Adds a new subsection to your latex code.
Definition at line 288 of file b2latex.py.
◆ __init__()
def __init__ |
( |
|
self, |
|
|
|
name |
|
) |
| |
Calls super-class init and adds necessary latex commands to output.
Definition at line 293 of file b2latex.py.
◆ __str__()
Transform object to string, in this case, just returns .the generated latex-code
Definition at line 26 of file b2latex.py.
◆ add()
Add latex-code to the output string.
This method is usually overriden in the subclasses
Definition at line 32 of file b2latex.py.
◆ finish()
Finishes the generation of latex-code.
E.g. adds end latex-commands
This method is usually overriden in the subclasses
Reimplemented in Itemize, and Graphics.
Definition at line 39 of file b2latex.py.
◆ save()
def save |
( |
|
self, |
|
|
|
filename, |
|
|
|
compile = False |
|
) |
| |
|
inherited |
Saves the latex-code into a file, adds preamble and end of document,
and compiles the code if requested.
@param filename latex-code is stored in this file, should end on .tex
@param compile compile the .tex file using pdflatex into a .pdf file
Definition at line 47 of file b2latex.py.
The documentation for this class was generated from the following file: