Rudolf Adamkovič <[email protected]> writes:

> Ihor Radchenko <[email protected]> writes:
>
>> FYI, I am unable to reproduce with exponents.
>
> I can reproduce.

This is a different bug.

> Recipe:
>
>   1. launch emacs -Q
>   2. create a new Org file
>   3. insert the content below
>   4. evaluate the code block
>
> Content:
>
>   #+begin_src elisp :results silent
>     (setopt org-highlight-latex-and-related
>             '(native entities))
>     (org-mode-restart)
>   #+end_src
>   
>   | something something |
>   | \(x^{a + b + c}\)   |

Confirmed.
This is a side effect of another fix, when the table is using
non-default face.
What happens is that we now calculate the table width in number of
characters. But the reference character width generally depends on the
face used. `org-string-width', to be useful, need to be consistent with
character counting and thus uses default face as the reference + norms
the strings to default face. Doing otherwise will introduce /other/
bugs.

The proper fix will be implementing pixel-precise alignment, not the
character-precise as we do now.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to