make it work with the texformat,texmath and texthm from school-work