Suppose I have a simple ipython program and I want to display some LaTeX math:
from IPython.display import display, Math
display(Math("\\frac{a}{b}"))
Running in the terminal, I get the following output:
$ ipython main.py
<IPython.core.display.Math object>
Is it possible to properly render the math output in the terminal? (without using a notebook gui)