Einstein summation, indices, contractions, at covariant derivatives.
Tensor notation in LaTeX is built from superscripts and subscripts: T^{ij}_{kl} for a tensor with two upper and two lower indices, g_{\mu\nu} for the metric and \delta^i_j for the Kronecker delta. When the order of mixed indices matters, stagger them with an empty group, T^{i}{}_{j}, or load the tensor package and write \tensor{T}{^i_j}. The Levi-Civita symbol is \epsilon_{ijk}, the tensor product is \otimes, and Einstein summation simply repeats an index, A^i B_i. The table lists the tensor symbols people use most, with the package each one needs; the full list follows below.
| Symbol | Command | Use | Package | Copy |
|---|---|---|---|---|
T^{ij}_{kl} | Tensor with upper and lower indices | built in | ||
T^{i}{}_{j} | Staggered indices (order matters) | built in | ||
\tensor{T}{^i_j^k} | Staggered indices made easy | tensor | ||
g_{\mu\nu} | Metric tensor | built in | ||
\delta^i_j | Kronecker delta | built in | ||
\epsilon_{ijk} | Levi-Civita symbol | built in | ||
A^i B_i | Einstein summation (repeated index) | built in | ||
A \otimes B | Tensor product | built in | ||
\partial_\mu | Partial derivative along a coordinate | built in | ||
\nabla_\mu T^{\nu} | Covariant derivative | built in | ||
T_{(ij)} | Symmetrisation | built in | ||
T_{[ij]} | Antisymmetrisation | built in |
Connections, curvature and differential forms are on the differential geometry symbols page.
T^{ij}_{kl}T_{ij}T^{ij}T^i_j\delta^i_j\epsilon_{ijk}A^i B_iA \otimes BT^i_iv_i = g_{ij} v^jv^i = g^{ij} v_j\partial_i\nabla_iT_{(ij)}T_{[ij]}(p, q)e_ie^iT'^{ij} = \Lambda^i_k \Lambda^j_l T^{kl}