CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
beamerCreator.Out Class Reference

Public Member Functions

def __init__ (self)
 
def add (self, text)
 
def addSlide (self, head, text)
 
def addSlide_fragile (self, head, text)
 

Public Attributes

 text
 

Detailed Description

Definition at line 19 of file beamerCreator.py.

Constructor & Destructor Documentation

def beamerCreator.Out.__init__ (   self)

Definition at line 21 of file beamerCreator.py.

21  def __init__(self):
22  self.text = ""
23 
def __init__(self)

Member Function Documentation

def beamerCreator.Out.add (   self,
  text 
)

Definition at line 40 of file beamerCreator.py.

References beamerCreator.Out.text.

Referenced by counter.Counter.register(), SequenceTypes.Task.remove(), and SequenceTypes.Task.replace().

40  def add(self, text):
41  self.text += text + "\n"
42 
43 
def add(self, text)
def beamerCreator.Out.addSlide (   self,
  head,
  text 
)

Definition at line 24 of file beamerCreator.py.

References beamerCreator.Out.text.

24  def addSlide(self, head, text):
25  self.text += "\\begin{{frame}}[t]{{{0}}}\n".format(head)
26  self.text += text
27  self.text += """\\vfill
28  \\rule{0.9\paperwidth}{1pt}
29  \insertnavigation{0.89\paperwidth}
30  \\end{frame}\n"""
31 
def addSlide(self, head, text)
def beamerCreator.Out.addSlide_fragile (   self,
  head,
  text 
)

Definition at line 32 of file beamerCreator.py.

References beamerCreator.Out.text.

32  def addSlide_fragile(self, head, text):
33  self.text += "\\begin{{frame}}[fragile=singleslide]{{{0}}}\n".format(head)
34  self.text += text
35  self.text += """\\vfill
36  \\rule{0.9\paperwidth}{1pt}
37  \insertnavigation{0.89\paperwidth}
38  \\end{frame}\n"""
39 
def addSlide_fragile(self, head, text)

Member Data Documentation

beamerCreator.Out.text