Keep cursor centered; latex fixes
Merge