python 3
global texcalcsty