Latex backend: Cleaned up generated tex, replaced commented empty lines with proper empty lines, as they don't mess up rendering anymore.