Creation of the main .tex