Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

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

share|improve this answer
    
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

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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