New answers tagged


Okay, so I actually figured it out. MatrixForm[list]//TeXForm works great.


TeXForm[list] $$\left( \begin{array}{c} a\rightarrow b \\ c\rightarrow d \\ \end{array} \right)$$


This imports the package and defines the variables, << xAct`xTensor`; DefManifold[M4, 4, {a, b, c, d, e, f, g, h, i, j, k, l}] ; DefMetric[-1, metric[-a, -b], CD, PrintAs -> "g"]; DefTensor[p[], M4, PrintAs -> "ϕ"]; This is your expression, test = (CD[-a]@p[] CD[a]@p[]) Let's look at all the various forms there are of this expression, ...

Top 50 recent answers are included