14

I would want to know in which package the symbol \hbar is defined. In fact I ask this because I need to create a letter like \hbar but with 'k' instead of 'h'.

17

\hbar is defined in the LaTeX kernel:

\newcommand{\hbar}{\mathchar'26\mkern-9mu h}

So

\newcommand{\kbar}{\mathchar'26\mkern-9mu k}

should do what you want (although it might need some customization if other fonts are used).

  • Thank you ! I tried something like that but I made some mistakes. Where can I find the LaTex kernel under fedora ? – PanAkry Mar 3 '12 at 13:56
  • 1
    If you have a fairly recent TeX Live distribution, then the shell command texdef -t latex hbar will reveal the definition. You can then look for the "official" one in latex.ltx: less $(kpsewhich latex.ltx) – egreg Mar 3 '12 at 14:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.