: Safari HTML for Planck Constant/Reduced Planck Constant I want to display the symbols commonly known as h and h-bar. This is for Safari and iOS. What do I enter into my html? If there
I want to display the symbols commonly known as h and h-bar. This is for Safari and iOS. What do I enter into my html?
If there is a table of such things somewhere, a reference to it would be great. Thanks!
More posts by @Rivera981
2 Comments
Sorted by latest first Latest Oldest Best
Regarding information about such things in general, the Unicode standard is authoritative in matters of character codes. But it does not prescribe the use of characters. Various sources need to be consulted; in matters of mathematical and physical notations, you can consult the ISO 80000 series of standards (available from standards organizations for rather high prices).
The Planck constant can be viewed as letter h in italic, but the non-normative well-written advisory document Unicode in XML and other Markup Languages says: “to indicate Planck's constant one should use U+210E and not <i>h</i>” (the logic behind this is not simple, but logical). For the reduced Planck constant, there really is no choice. So use the characters U+210E PLANCK CONSTANT and U+210F PLANCK CONSTANT OVER TWO PI. The way to enter them depends on the authoring context.
In modern authoring, you should be using a Unicode-enabled editor and should be able to insert these characters directly. Failing this, the character references mentioned by toomanyairmiles can be used.
Then there’s the character problem. These special characters have limited support in fonts. You should probably analyze their availability and suggest a list of fonts in CSS, as outlined in my Guide to using special characters in HTML.
Note that the reduced Planck constant character has varying shapes (glyphs), with either horizontal or slanted stroke over the letter h. The glyph in the relevant Unicode chart has a slanted stroke. This is not normative but suggestive, and it makes it clear that the character is different from h with stroke (ħ, a letter used in some natural languages).
You're looking for a list of unicode characters and an explanation of how to use them. Unicode characters should work in any browser regardless of platform.
The ℏ is written as ℏ and ℎ as ℎ in a html document.
If you're representing complex equations you might get on better with LATEX
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.