Reorganize latex mode sections