15

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'.

0

1 Answer 1

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).

2
  • Thank you ! I tried something like that but I made some mistakes. Where can I find the LaTex kernel under fedora ?
    – PanAkry
    Mar 3, 2012 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, 2012 at 14:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .