Sha256: 080b92af55723b454a0a6c28e7eb94e5756138a226de04450b2f539e204caa35
Contents?: true
Size: 915 Bytes
Versions: 2
Compression:
Stored size: 915 Bytes
Contents
module Plurimath module Math module Symbols class Kappa < Symbol INPUT = { unicodemath: [["kappa", "κ"], parsing_wrapper(["upkappa"], lang: :unicode)], asciimath: [["kappa", "κ"], parsing_wrapper(["upkappa"], lang: :asciimath)], 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.14 | lib/plurimath/math/symbols/kappa.rb |
plurimath-0.8.13 | lib/plurimath/math/symbols/kappa.rb |