示例#1
0
文件: Inversion.py 项目: gsy/gmajor
 def _get_markup(self, direction=None):
     markup = markups.Markup('I', direction=direction)
     if self.axis is not None:
         axis = self.axis.get_name(locale='us')
         subscript = markups.Markup(axis).sub()
         markup = markups.Markup.concat([markup, subscript])
     return markup
示例#2
0
 def _get_markup(self, direction=None):
     operator = markups.Markup('r', direction=direction)
     subscript = markups.Markup(self.n).sub()
     hspace = markups.Markup.hspace(-0.25)
     markup = markups.Markup.concat([operator, hspace, subscript])
     return markup
示例#3
0
 def _get_markup(self, direction=None):
     return markups.Markup('R', direction=direction)
示例#4
0
 def _get_markup(self, direction=None):
     operator = markups.Markup('M', direction=direction)
     subscript = markups.Markup(self.n).sub()
     markup = markups.Markup.concat([operator, subscript])
     return markup