add mathematics to labels