On a new install, I noticed that Emacs systematically lowers or raises what it identifies as subscripts or superscripts (sometimes correctly, sometimes incorrectly...) due to the presence of _
or ^
in latex-mode
.
Syntax highlighting is enough for me, and I do not want Emacs to do any WYSIWYG mess, so I need to deactivate this.
I found several old notes that addressed other causes of this, and tried them all, but it seems my issue is a different one.
I have GNU emacs-25.2.1 (under Linux gentoo).
I am not using any of the "advanced modes" (yatex, auctex) as they do even more visual things that I do not like. I am just using the stock latex-mode
, which used to be fine for my purpose.
nil
instead oft
to get rid of the funky subscripts and superscripts. – Stephen May 18 '18 at 12:49tex-fontify-script
tonil
, I also had to changefont-latex-fontify-script
and set it tonil
. – Olivier Oct 02 '18 at 07:31font-latex
(which comes with AUCTeX, IIUC) instead of the "builtin" font-lock rules. In your case, I'd guess that settingtex-fontify-script
doesn't actually have any effect. – Stefan Oct 02 '18 at 12:42