TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

\hbar is printing perfectly in both PS and PDF formats while using standard fonts. However if I am using Times New Roman fonts, the PS file is showing a correct \hbar but the PDF file is not showing it properly. It is giving a bar over h (should be h cross).

Including these two packages (shown below) creates all the problems.

System information: TeXnicCenter, MiKTeX2.9, Windows 7


Example TeX file


The Zeeman Hamiltonian can be written as  
\mathcal{H}_z &=& -{\mu . B}\\  
            &=& -\mu_z . B_z = -\hbar {I_z} \gamma B_0 = -\hbar \omega_0 {I_z},  


Note: No error message is shown. The PS file is showing a perfect 'hbar' symbol, but not the PDF. I guess my PDF is not supporting the 'hbar' symbol

share|improve this question

closed as too localized by Joseph Wright Aug 5 '12 at 11:58

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. In my test the problem doesn't show, so this might depend on other settings you're doing. – egreg May 21 '12 at 10:11
MWE included, see the main post above. – royce May 21 '12 at 10:38
Compiling the example with pdflatex, but also with latex+dvips+ps2pdf gives the expected result. – egreg May 21 '12 at 10:42
Thanks. But the same example is not working for direct LaTeX => PDF . So I am first creating the PS output by LaTeX => PS and then converting PS into PDF. However the same example is working for LaTeX=>PDF if you remove the {mathptmx} package. Do you know any other way to creat Times New Roman fonts other than using {mathptmx} ? – royce May 21 '12 at 10:51
What's the error in the pdflatex compilation? – egreg May 21 '12 at 10:55

Browse other questions tagged or ask your own question.