parameters: (self)
return_statement: return out
docstring: Write to LaTeX string.
docstring_summary: Write to LaTeX string.
docstring_tokens: Write to LaTeX string .
function: def write(self):
          """
          Write to LaTeX string.
          """
          out = '%s\\begin{%s}' % (self.get('start'), self.name)
          for arg in self.get('args'):
              out += arg.write()
          out += self.get('after_begin')
          for child in self.children:
              out += child.write()
          out += '%s\\end{%s}%s' % (self.get('before_end'), self.name, self.get('end'))
          return out
function_tokens: def write ( self ) : out = '%s\\begin{%s}' % ( self . get ( 'start' ) , self . name ) for arg in self . get ( 'args' ) : out += arg . write ( ) out += self . get ( 'after_begin' ) for child in self . children : out += child . write ( ) out += '%s\\end{%s}%s' % ( self . get ( 'before_end' ) , self . name , self . get ( 'end' ) ) return out