Activating `ligatures.el` messes up latex fontify

What happened?

The characters + and * (maybe more?) have the wrong baseline when in subscripts, e.g., $x^{1+2*4}$.

What did you expect to happen?

In vanilla emacs with auctex, latex-fontify displays all the characters in the subscripts and superscripts on the same baseline.

Turning of ligatures.el for Doom restores the correct fontify behavior.

Steps to reproduce

  1. Activate ligatures and latex in init.el
  2. Write super or subscripts with + or * in a latex file

System information


Loading data dump...

It was an emacs bug and its been fixed in emacs 29:

https://lists.gnu.org/archive/html/bug-gnu-emacs/2023-02/msg00284.html

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.