Sha256: 41526557a159ec2f51b7677dfa0c70e56f8b301a6579e1757c2a7222815b8ab6
Contents?: true
Size: 791 Bytes
Versions: 2
Compression:
Stored size: 791 Bytes
Contents
module Plurimath module Math module Symbols class Bar < Symbol INPUT = { unicodemath: [["¯"]], asciimath: [["¯"]], mathml: ["¯"], latex: [["¯"]], omml: ["¯"], html: ["¯"], }.freeze # output methods def to_latex parsing_wrapper("bar", lang: :latex) end def to_asciimath parsing_wrapper("bar", 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/bar.rb |
plurimath-0.8.13 | lib/plurimath/math/symbols/bar.rb |