The alignement trick to have nicely alignment on = sign or on unit (g) used broke the html. Reverting to a less optimal version on pdf while not breaking the html.