fix latex overlay on header

This fixes #74 .