Beispiel #1
0
 def _latex (self, M):
     ret_str = self._latex_head
     for elem in M:
         if isinstance(elem, list):
             for e in elem:
                 ret_str += "{" + latex_print(e) + "}"
         else:
             ret_str += "{" + latex_print(elem) + "}"
     return ret_str
Beispiel #2
0
 def _latex(self, M):
     ret_str = self._latex_head
     for elem in M:
         if isinstance(elem, list):
             for e in elem:
                 ret_str += "{" + latex_print(e) + "}"
         else:
             ret_str += "{" + latex_print(elem) + "}"
     return ret_str
Beispiel #3
0
 def _latex (self, part):
     ret_str = self._latex_head
     for elem in flatten_list(self.tolist(part)):
         ret_str += "{" + latex_print(elem) + "}"
     return ret_str
Beispiel #4
0
 def _latex(self, part):
     ret_str = self._latex_head
     for elem in flatten_list(self.tolist(part)):
         ret_str += "{" + latex_print(elem) + "}"
     return ret_str