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
It would be great if mathtext.py supported LaTeX environments #5169
Comments
attn @mdboom I assume this will require a pretty major effort to implement more of latex in our mathtex engine? |
It may not be worth doing this, as opposed the user installing LaTeX. I'm not sure how much demand there may be for this functionality. We are working on solutions for SymPy that work around this. And it could be a perpetual request from us to implement new renderings for various SymPy objects. FYI. |
Historically, it's always been hard to know where to draw the line on this kind of functionality. I'd love to have it do "everything", but we have finite time and all that. @moorepants: Do you have a good sense of what would be the most useful features that mathtext currently doesn't do? |
Yes, the various matrix commands from amsmath would be most helpful, or simply array. |
I need to display matrices without having LaTeX installed, so consider me as another one hit by this mathtext limitation. I agree that fully supporting environments could be a huge effort, but some array-like workaround would be great. Note that my matrices are not numeric, each matrix element is another mathtext expression, which can have fractions, integrals, etc... |
I'm going to close this as essentially a duplicate of #321 (the main issue is with general environment support, not what the specific environments we need to support are). |
Matrices and array environments would be useful to display with matplotlib.
Here is a stackoverflow question that is related: http://stackoverflow.com/questions/26329177/how-to-display-a-matrix-in-the-matplotlib-annotations
We'd also like support for our SymPy printing backends. See #5162 for some related info.
The text was updated successfully, but these errors were encountered: