Finish .tex-file