New answers tagged

2

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


0

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


5

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