TypesettingExplicitLorentzIndex
TypesettingExplicitLorentzIndex
determines the TraditionalForm
typesetting of explicit Lorentz indices.
See also
Overview.
Examples
Current setting
TypesettingExplicitLorentzIndex
% // InputForm
FeynCalcˋSharedObjectsˋPrivateˋx→FeynCalcˋSharedObjectsˋPrivateˋx
Function[FeynCalc`SharedObjects`Private`x,
FeynCalc`SharedObjects`Private`x]
Make explicit Lorentz indices look red
TypesettingExplicitLorentzIndex = Function[x, Style[x, Red]];
4 M^2 u FV[k, 0]^2 - 4 M^2 u FV[k, 3]^2 - 4 M SP[k, k] - 2 M u FV[k, 0] FV[k, 3]^2 + 4 M u FV[k, 0] FV[k, 2] - u^2 FV[k, 2]^2
−4M2u(k3)2−2k0Mu(k3)2+4k0Muk2−4Mk2−u2(k2)2+4(k0)2M2u
Back to the standard settings
TypesettingExplicitLorentzIndex = Function[x, x]
x→x