def __init__(self, rawsource='', label=None, fontsize=12, color='black', *children, **attributes):
     self.rawsource = rawsource
     self.math_data = attributes['latex']
     self.label = label
     self.fontsize = fontsize
     self.color = color
     Element.__init__(self, rawsource, *children, **attributes)
示例#2
0
 def __init__(self, rawsource='', label=None, fontsize=12, color='black', *children, **attributes):
     self.rawsource = rawsource
     self.math_data = attributes['latex']
     self.label = label
     self.fontsize = fontsize
     self.color = color
     Element.__init__(self, rawsource, *children, **attributes)
示例#3
0
 def __init__(self,
              content,
              options,
              rawsource='',
              *children,
              **attributes):
     self.content = content
     self.options = options
     Element.__init__(self, rawsource, *children, **attributes)
示例#4
0
 def __init__(self, rawsource='', label=None, *children, **attributes):
     self.label=label
     Element.__init__(self, rawsource, *children, **attributes)
示例#5
0
 def __init__(self, rawsource='', label=None, *children, **attributes):
     self.rawsource = rawsource
     self.math_data = attributes['latex']
     self.label = label
     Element.__init__(self, rawsource, *children, **attributes)
示例#6
0
 def __init__(self, rawsource='', *children, **attributes):
     self.rawsource = rawsource
     self.math_data = attributes['data']
     Element.__init__(self, rawsource, *children, **attributes)
示例#7
0
 def __init__(self, rawsource='', label=None, *children, **attributes):
     self.label = label
     Element.__init__(self, rawsource, *children, **attributes)
示例#8
0
 def __init__(self, rawsource='', label=None, *children, **attributes):
     self.rawsource = rawsource
     self.math_data = attributes['latex']
     self.label = label
     Element.__init__(self, rawsource, *children, **attributes)
示例#9
0
 def __init__(self, key, value):
     self.key = key
     self.value = value
     Element.__init__(self)
 def __init__(self, content, options, rawsource='', *children, **attributes):
     self.content = content
     self.options = options
     Element.__init__(self, rawsource, *children, **attributes)