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