5

Is there a way to construct a symbol similar to the reduced Planck's constant $\hbar$, only with two crossings instead of one?

6

Like this?

\documentclass{article}
\newcommand{\hbbar}{{\raisebox{0.05ex}{$\mathchar '26$}\mkern -9mu\raisebox{-0.15ex}{$\mathchar '26$}\mkern -9muh}}
\begin{document}
$p=\hbbar k$

$p=\hbar k$

$p=hk$

\end{document}

enter image description here

It is true that this does not transform nicely under \scriptstyle. The following makes use of egreg's answer to fix this, but keeps the bars more evenly distributed as above.

\documentclass{article}
\usepackage{amsmath}
\makeatletter
\newcommand{\hbbar}{%
  \text{\m@th
    \makebox[0pt][l]{\raisebox{0.05\height}{$\mathchar'26$}}%
    \makebox[0pt][l]{\raisebox{-0.12\height}{$\mathchar'26$}}%
  }h
}
\makeatother

\begin{document}
$p=\hbbar k$ $\scriptstyle p=\hbbar k$ $\scriptscriptstyle p=\hbbar k$

$p=\hbar k$ $\scriptstyle p=\hbar k$ $\scriptscriptstyle p=\hbar k$

$p=hk$ $\scriptstyle p=h k$ $\scriptscriptstyle p=h k$

\end{document}

enter image description here

|improve this answer|||||
  • This exactly! Thank you very, very much. – Santiago Nuñez-Corrales Feb 24 at 16:25
  • Quick follow-up. When used as subscript, the additional bar gets misplaced. Is there any way to fix this? – Santiago Nuñez-Corrales Feb 24 at 18:16
  • @SantiagoNuñez-Corrales Yes, you are right. Good catch! I added a version that can be scaled, using the other answer as a starting point. Alternatives include the use of the (very nice!) scalerel package. – Schrödinger's cat Feb 24 at 22:52
7

You can add a lowered bar to \hbar.

\documentclass{article}
\usepackage{amsmath}

\makeatletter
\newcommand{\hhbar}{%
  \text{\m@th
    \makebox[0pt][l]{\raisebox{-0.15\height}{$\mathchar'26$}}%
  }\hbar
}
\makeatother

\begin{document}

$\hbar\hhbar\scriptstyle\hbar\hhbar\scriptscriptstyle\hbar\hhbar$

$xhx$

$x\hbar x$

$x\hhbar x$

\end{document}

enter image description here

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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