4
$\begingroup$

Is it possible in Mathematica to cross a symbol like p, similar to h-bar, used to denote the Planck constant?

Picture in case of font problems:

enter image description here

In case of h, we have HBAR, inputted as ESC-hb-ESC but there is no similar ESC-pbar-ESC defined.

This is a re-phrasing of a TeX question that has a solution in TeX:

https://tex.stackexchange.com/questions/309349/crossing-a-symbol-like-p-similar-to-one-like-hbar?noredirect=1&lq=1

Thank you for all suggestions.

$\endgroup$
  • 2
    $\begingroup$ This does not exactly answer your question, but that glyph already exists. Try FromCharacterCode[1412]. $\endgroup$ – MarcoB May 7 '18 at 21:20
  • 3
    $\begingroup$ or perhaps FromCharacterCode[42833]? $\endgroup$ – Carl Woll May 7 '18 at 21:22
  • 2
    $\begingroup$ @CarlWoll I found the reference, but the code evaluates to a boxed question mark on my system (MMA 11.2, Win7-64). Is that an encoding / OS / configuration issue? $\endgroup$ – MarcoB May 7 '18 at 21:34
  • $\begingroup$ @MarcoB: indeed, it does not answer the question. I am looking for a general way to cross a symbol by a bar. Turns out I actually need "b-bar" not "p-bar". I just didn't have the graphics to illustrate a "b-bar". $\endgroup$ – Ohcolowisc May 8 '18 at 4:07
  • $\begingroup$ @Ohcolowisc Like this glyph? $\endgroup$ – MarcoB May 8 '18 at 4:47

Your Answer

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

Browse other questions tagged or ask your own question.