fixed latex templates with python raw strings