enable math-tex for labels
See original GitHub issueI know it is somehow possible to use math-tex / LaTeX math formatting for labels in VTK, but how can we enable it in vtki? For example:
plotter.add_bounds_axes(xlabel='$F^2$')
plotter.add_mesh(data, stitle='$stuff^2$')
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Using labels with mathJax? - Physics Meta - Stack Exchange
Using the command \label{1} in the equation solves the \eqref issue, but the equation is not displayed correctly anymore, only the LaTeX code ......
Read more >Configuring MathJax — MathJax 3.2 documentation
The MathJax object consists of sub-objects that configure the individual components of MathJax. For example, the input/tex component is configured through a ...
Read more >Mathtext — Matplotlib 3.6.2 documentation
Mathtext #. Use Matplotlib's internal LaTeX parser and layout engine. For true LaTeX rendering, see the text.usetex option.
Read more >text does not work in a matplotlib label - Stack Overflow
\text won't work because it requires the amsmath package (not included in mathtext - the math rendering engine of matplotlib). So you basically...
Read more >Mathematical notation — Bokeh 3.0.3rc1 Documentation
To use LaTeX notation as an axis label, title, or label, pass a raw string literal beginning and ending with MathJax default delimiters...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Provided they can compile it, it would result in automatic rendering to mathtex for every available text label. I’ll close this and consider reopening it if they can’t compile the wheel with mathtex support.
It would have to be by VTK as they’re going to be the ones to build the wheel and wheels are more universal than conda. Most linux users just use the python included with their distro.