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