turn on latex modes