Further modifications for latex and status line