Sha256: f72e385f9a8401bc91eca57324c84b04b374cce16169e5439090f89d33ab2aed
Contents?: true
Size: 911 Bytes
Versions: 2
Compression:
Stored size: 911 Bytes
Contents
module Plurimath module Math module Symbols class Planckconst < Symbol INPUT = { unicodemath: [["ℎ"], parsing_wrapper(["Planckconst"])], asciimath: [["ℎ"], parsing_wrapper(["Planckconst"])], mathml: ["ℎ"], latex: [["Planckconst", "ℎ"]], omml: ["ℎ"], html: ["ℎ"], }.freeze # output methods def to_latex "\\Planckconst" end def to_asciimath parsing_wrapper("Planckconst") end def to_unicodemath Utility.html_entity_to_unicode("ℎ") end def to_mathml_without_math_tag(_) ox_element("mi") << "ℎ" end def to_omml_without_math_tag(_) "ℎ" end def to_html "ℎ" end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
plurimath-0.8.12 | lib/plurimath/math/symbols/planckconst.rb |
plurimath-0.8.11 | lib/plurimath/math/symbols/planckconst.rb |