LaTeX file update to handle headers a bit better.