Completed LaTeX output module