Belle II Software  release-05-02-19
Itemize Class Reference
Inheritance diagram for Itemize:
Collaboration diagram for Itemize:

Public Member Functions

def __init__ (self)
 
def add (self, item)
 
def finish (self)
 
def __str__ (self)
 
def add (self)
 
def save (self, filename, compile=False)
 

Public Attributes

 amount
 number of items
 
 output
 Stores the outputted latex-code.
 

Detailed Description

Creates a itemized list in latex.

Definition at line 337 of file b2latex.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self)
Calls super-class init and begins itemize

Reimplemented from LatexObject.

Definition at line 342 of file b2latex.py.

Member Function Documentation

◆ __str__()

def __str__ (   self)
inherited
Transform object to string, in this case, just returns .the generated latex-code

Definition at line 19 of file b2latex.py.

◆ add() [1/2]

def add (   self)
inherited
Add latex-code to the output string.
This method is usually overriden in the subclasses

Definition at line 25 of file b2latex.py.

◆ add() [2/2]

def add (   self,
  item 
)
Adds another item.
    @param item string or object with implicit string conversion used as item

Definition at line 351 of file b2latex.py.

◆ finish()

def finish (   self)
Finishes the generation of latex-code.

Reimplemented from LatexObject.

Definition at line 360 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 40 of file b2latex.py.


The documentation for this class was generated from the following file: