- #1
- 2,168
- 193
I have a code that is something like this
When I print in jupyter-lab it looks like this
Is there a way to make it something like this
$$\Gamma^{\phi}_{\phi \theta} = r\theta^2$$
or very similar at least
Code:
print("Gamma^",syms[i],"_",syms[j],syms[k], "=", syms[1], syms[2]**2)
When I print in jupyter-lab it looks like this
Code:
Gamma^ r _ theta theta = r theta**2
Gamma^ r _ phi phi = r theta**2
Gamma^ theta _ r theta = r theta**2
Gamma^ theta _ theta r = r theta**2
Gamma^ theta _ phi phi = r theta**2
Gamma^ phi _ r phi = r theta**2
Gamma^ phi _ theta phi = r theta**2
Gamma^ phi _ phi r = r theta**2
Gamma^ phi _ phi theta = r theta**2
Is there a way to make it something like this
$$\Gamma^{\phi}_{\phi \theta} = r\theta^2$$
or very similar at least