Show More
@@ -60,6 +60,7 b' def print_latex(o):' | |||||
60 | """A function to generate the latex representation of sympy expressions.""" |
|
60 | """A function to generate the latex representation of sympy expressions.""" | |
61 | s = latex(o, mode='plain') |
|
61 | s = latex(o, mode='plain') | |
62 | s = s.replace('\\dag','\\dagger') |
|
62 | s = s.replace('\\dag','\\dagger') | |
|
63 | s = s.strip('$') | |||
63 | return '$$%s$$' % s |
|
64 | return '$$%s$$' % s | |
64 |
|
65 | |||
65 |
|
66 |
General Comments 0
You need to be logged in to leave comments.
Login now