Structs the LaTeX document