How to use H-bar(ℏ) symbol in LaTeX?

This ℏ letter from the Latin alphabet is used in physics as a symbol of the Planck constant, and it is also used as a symbol for Hedera Hashgraph’s native cryptocurrency. How to use this symbol in Latex will be discussed in this tutorial.

Type of symbolMathematics
Package (requirement)No
Latex command\hbar
Example\hbar → ℏ

LaTeX provides a command to print the h-bar symbol in a LaTeX document, which is \hbar. This command lets you easily print the h-bar symbol to the document and is a default command in LaTeX. Since this command works in math mode, you must always enclose the command in single-dollar($) or \[...\].

Below are some examples of the use of \hbar command.

   \[ J_z = m \hbar \]
   \[ \hbar = \frac{h}{2\pi} \]
   \[ p^N = \hbar \left(\frac{w}{c}, \vec{K} \right) \]

Output :

H-bar symbol.

H-bar symbol using other packages

You can also use other packages to print h-bar symbols in latex documents. Some packages use a similar command as the default command in \hbar, and some packages use a slightly different command to print the h-bar symbol to the document.

But you can see some differences in the h-bar symbols of different packages in the output. The following table shows how the h-bar symbol will appear in various packages, commands, and output.

PackageCommand and Output
amsmath\hbarUse amsmath package in latex.
fdsymbol\hbar →  Use fdsymbol package.
boisik\hbarUse boisik package.
boisik\hslashUse hslash command of boisik package in latex.
phonetic\planckUse phonetic package.
wsuipa\crosshUse wsuipa package.
tipa\textcrhUse tipa package.

To use this symbol in text mode, you can use the \planck command from the phonetic package or the \textcrh command from the tipa package. The following example shows the use of these two packages.

  E=\planck$\omega  $\\[4pt]
  \textcrh=$1.054571817\times 10^{-34} $ J-s

Output :

Use hbar in text-mode in latex.

1 thought on “How to use H-bar(ℏ) symbol in LaTeX?”

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top