I can redefine the
\hbar command to use the "h" from the current math font as follows
For example in Times New Roman this gives
However, this breaks in super- or subscripts:
Is there a better way to achieve the same result, or is the a way to define
\hbar differently when it appears as super- or subscript?