예제 #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