task distribution in latex file