示例#1
0
 def _repr_latex_(self):
     from ufl.algorithms import ufl2latex
     return "$%s$" % ufl2latex(self)
示例#2
0
 def x_repr_latex_(
     self
 ):  # TODO: This works, but enable when form latex rendering is fixed
     from ufl.algorithms import ufl2latex
     return "$$%s$$" % ufl2latex(self)
示例#3
0
 def _repr_latex_(self):
     from ufl.algorithms import ufl2latex
     return "$%s$" % ufl2latex(self)
示例#4
0
文件: form.py 项目: FEniCS/ufl
 def x_repr_latex_(self):  # TODO: This works, but enable when form latex rendering is fixed
     from ufl.algorithms import ufl2latex
     return "$$%s$$" % ufl2latex(self)