Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double superscripts in Tensor.display() output #9

Open
chenpeizhi opened this issue Aug 13, 2019 · 1 comment
Open

Double superscripts in Tensor.display() output #9

chenpeizhi opened this issue Aug 13, 2019 · 1 comment

Comments

@chenpeizhi
Copy link
Collaborator

When a factor of the amplitude of a term is raised to a power, the LaTeX output given by Tensor.display() contains double superscripts, which cannot be properly displayed in a Jupyter notebook. It seems that this could be fixed by modifying the ScalarLatexPrinter class in report.py.

@tschijnmo
Copy link
Collaborator

Yes, I can remember this issue. During a research on tensor structured CC theory, there was something like a regular expression to fix this in a really dirty way. I'll see if there is some easy fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants