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.

How can I typeset the symbol for the reduced Planck constant (from quantum theory)? It consists in an italic "h" whose upper part is crossed by a small "slanted" bar:

enter image description here

For information, this slanted bar also occurs quite often with the letter "l" (ell) in Polish. Example: the Polish word for "word" is "slowo", where the letter "l" bears a slanted little bar.

Is there a package that provides that symbol?

Second question: please tell me where to look for and how to correct the LaTex PDF warning

overfull/underfull \hbox or \vbox
share|improve this question

marked as duplicate by egreg, Jubobs, Martin Schröder, Malipivo, Jesse Apr 12 at 13:10

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. –  Harish Kumar Apr 12 at 12:24
I'm "tagging" the question so that it can be found by someone daring Unicode in a web search: the reduced Planck constant aka the Dirac constant is written ħ, pronounced as "h bar". –  Christian Apr 12 at 12:28
To my knownledge, "reduced Planck constant" is the most widely accepted name for the physical constant you're referring to. Feel free to revert my edit if you don't like it. Also, you're asking two unrelated questions, here. Please ask only one question per post. That said, this should answer your question about bad boxes. –  Jubobs Apr 12 at 12:36

1 Answer 1

We answer in the language of codes ;)

  $\hbar$ $\hslash$

enter image description here

\hbar needs no packages while \hslash needs amssymb.

Generally we prefer one question per thread. The badboxes are detailed in your .log file with line numbers. You may also add --file-line-error option to pdflatex to get C like error messages. Further, if you add draft option to the \documentclass[draft]{...}, the badboxes will be shown as black box in the pdf file. Good luck with it.

share|improve this answer

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