The HQET / NRQCD Lagrangian to order alpha / m-3