Sha256: befb2b6ada9bd55810103a845f81145414bedffa00ebe49e3d9d1da8ae86a6d3
Contents?: true
Size: 881 Bytes
Versions: 2
Compression:
Stored size: 881 Bytes
Contents
module Plurimath module Math module Symbols class Kappa < Symbol INPUT = { unicodemath: [["kappa", "κ"], parsing_wrapper(["upkappa"])], asciimath: [["kappa", "κ"], parsing_wrapper(["upkappa"])], mathml: ["κ"], latex: [["upkappa", "kappa", "κ"]], omml: ["κ"], html: ["κ"], }.freeze # output methods def to_latex "\\kappa" end def to_asciimath "kappa" 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/kappa.rb |
plurimath-0.8.11 | lib/plurimath/math/symbols/kappa.rb |