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