Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lualatex and mathsf italic and overline: not centered #623

Open
1 of 2 tasks
Firestar-Reimu opened this issue Sep 21, 2023 · 1 comment
Open
1 of 2 tasks

lualatex and mathsf italic and overline: not centered #623

Firestar-Reimu opened this issue Sep 21, 2023 · 1 comment

Comments

@Firestar-Reimu
Copy link

Firestar-Reimu commented Sep 21, 2023

Description

lualatex and mathsf italic and overline: not centered. xelatex do not have this issue

Add info or delete as appropriate:

  • Relevant for XeTeX
  • Relevant for LuaTeX

Minimal example demonstrating the issue

\documentclass{article}
\usepackage{unicode-math}
\unimathsetup{mathsf=sym,sans-style=italic}
\begin{document}
    \[
        \mathsf{\overline{x}} = \overline{x}  % \overline{\mathsf{x}} has the same issue too
    \]
\end{document}

Further details

lualatex:

Screenshot_20230921_145738

xelatex:

Screenshot_20230921_145653

@khaledhosny
Copy link
Contributor

This is an engine issue. It is caused by different handling of italic correction in LuaTeX and XeTeX.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants