コード例 #1
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)
コード例 #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
ファイル: math_directive.py プロジェクト: ddd332/presto
 def __init__(self, rawsource='', label=None, *children, **attributes):
     self.label=label
     Element.__init__(self, rawsource, *children, **attributes)
コード例 #5
0
ファイル: math_directive.py プロジェクト: ddd332/presto
 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
ファイル: translator.py プロジェクト: jdcantrell/kodiak
 def __init__(self, key, value):
     self.key = key
     self.value = value
     Element.__init__(self)
コード例 #10
0
 def __init__(self, content, options, rawsource='', *children, **attributes):
     self.content = content
     self.options = options
     Element.__init__(self, rawsource, *children, **attributes)