Belle II Software development
Section Class Reference
Inheritance diagram for Section:
LatexObject

Public Member Functions

def __init__ (self, name)
 

Detailed Description

Adds a new section to your latex code with some additional commands
to force a pagebreak and add a barrier for figure objects.

Definition at line 271 of file b2latex.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  name 
)
Calls super-class init and adds necessary latex commands to output.

Reimplemented from LatexObject.

Definition at line 277 of file b2latex.py.

277 def __init__(self, name):
278 """
279 Calls super-class init and adds necessary latex commands to output.
280 """
281 super().__init__()
282 self.output += r"\raggedbottom" + '\n'
283 self.output += r"\pagebreak[0]" + '\n'
284 self.output += r"\FloatBarrier" + '\n'
285 self.output += r"\section{" + str(name) + r"}" + '\n'
286
287

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