Sha256: 4b9a5406c4a8ea32337aa5ad6115d19acd6237cb95d5619862589c4c5a7394fe
Contents?: true
Size: 986 Bytes
Versions: 2
Compression:
Stored size: 986 Bytes
Contents
module Plurimath module Math module Symbols class Koppa < Symbol INPUT = { unicodemath: [["ϙ"], parsing_wrapper(["upoldkoppa", "qoppa", "koppa"], lang: :unicode)], asciimath: [["ϙ"], parsing_wrapper(["upoldkoppa", "qoppa", "koppa"], lang: :asciimath)], mathml: ["ϙ"], latex: [["upoldkoppa", "qoppa", "koppa", "ϙ"]], omml: ["ϙ"], html: ["ϙ"], }.freeze # output methods def to_latex "\\koppa" end def to_asciimath parsing_wrapper("koppa", lang: :asciimath) 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/koppa.rb |
plurimath-0.8.13 | lib/plurimath/math/symbols/koppa.rb |