latex template:  Put header-includes after title.

Closes #908.