finished the latex document