Sha256: 613b3b7d04edae20fe23d621be7f4e07bb7bb627bf5ab77b4eefafddac554eff
Contents?: true
Size: 1.08 KB
Versions: 2
Compression:
Stored size: 1.08 KB
Contents
module Plurimath module Math module Symbols class Leftrightwavearrow < Symbol INPUT = { unicodemath: [["leftrightwavearrow", "↭"], parsing_wrapper(["leftrightsquigarrow"], lang: :unicode)], asciimath: [["↭"], parsing_wrapper(["leftrightwavearrow", "leftrightsquigarrow"], lang: :asciimath)], mathml: ["↭"], latex: [["leftrightsquigarrow", "↭"], parsing_wrapper(["leftrightwavearrow"], lang: :latex)], omml: ["↭"], html: ["↭"], }.freeze # output methods def to_latex "\\leftrightsquigarrow" end def to_asciimath parsing_wrapper("leftrightwavearrow", 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/leftrightwavearrow.rb |
plurimath-0.8.13 | lib/plurimath/math/symbols/leftrightwavearrow.rb |