In this question I wrote

$$|\mathbf{k_{scat}}| = \frac{2 \pi}{h} \sqrt{2 m_e e V}$$

where $h$ is the Planck constant.

In physics we have h-bar which is $h/ 2 \pi$ but I don't know how to add h-bar using MathJax.

  • 5
    $\begingroup$ \hbar should produce $\hbar$. $\endgroup$
    – Ivo Terek
    Commented Apr 23, 2020 at 23:42
  • $\begingroup$ @IvoTerek indeed it should, and does! I wonder if that could be added to MathJax basic tutorial and quick reference page somehow? $\endgroup$
    – uhoh
    Commented Apr 23, 2020 at 23:45
  • 2
    $\begingroup$ I just checked it quickly and it doesn't seem that this would fit with any of the current answers (and it doesn't warrant a new answer by itself). However, one of the answers does mention the Detexify website, where you can draw a symbol and they recognize what it is to give you the code. There is also a mobile app. I just made a sloppy h-bar on the mobile app and it was easily recognized. $\endgroup$
    – Ivo Terek
    Commented Apr 23, 2020 at 23:48
  • $\begingroup$ @IvoTerek yay! i.sstatic.net/peJsY.png $\endgroup$
    – uhoh
    Commented Apr 23, 2020 at 23:51

1 Answer 1


\hbar produces $\hbar$ (as @IvoTerek has mentioned) and \hslash produces $\hslash$.

Generally, you could refer to MathJax's docs for LaTeX commands/symbols supported by MathJax and page 20-22 of amsfonts' user guide for a list of symbols with their corresponding commands.


You must log in to answer this question.

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