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

\hbar not displayed with fontspec on XeLaTeX/LuaLaTeX #337

Closed
4 tasks done
aminophen opened this issue Aug 31, 2018 · 1 comment
Closed
4 tasks done

\hbar not displayed with fontspec on XeLaTeX/LuaLaTeX #337

aminophen opened this issue Aug 31, 2018 · 1 comment

Comments

@aminophen
Copy link

Description

See https://tex.stackexchange.com/questions/448490

Check/indicate

  • Relevant for XeTeX
  • Relevant for LuaTeX
  • Issue tracker has been searched for similar issues?
  • Links to <tex.stackexchange.com> discussion if appropriate

Minimal example demonstrating the issue

\documentclass{article}
\usepackage{fontspec}
\begin{document}
[$\hbar$]
\end{document}

Further details

Looking into fontspec-math.dtx, accents (\grave, \acute, \bar etc.) are all handled specially so that operators font is always used. Why no such kind of redefinition for \hbar?

@wspr
Copy link
Collaborator

wspr commented Sep 6, 2018

Hmm, while I don't think fontspec is the right place to do all of these redefinitions, I guess you're right that it should at least try, here.

I've added something, but it probably only works with the default fonts.

@wspr wspr closed this as completed in a8e510a Jan 9, 2019
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