move latex definitions