Sha256: 48d8bef89d8ed56bf8125a4e104d205d36ab3c806b81b891dc4447727e5b46e6
Contents?: true
Size: 1006 Bytes
Versions: 10
Compression:
Stored size: 1006 Bytes
Contents
module Plurimath module Math module Symbols class Gets < Symbol INPUT = { unicodemath: [["gets", "leftarrow", "←"], parsing_wrapper(["larr"], lang: :unicode)], asciimath: [["leftarrow", "larr", "←"], parsing_wrapper(["gets"], lang: :asciimath)], mathml: ["←"], latex: [["leftarrow", "gets", "←"], parsing_wrapper(["larr"], lang: :latex)], omml: ["←"], html: ["←"], }.freeze # output methods def to_latex(**) "\\gets" end def to_asciimath(**) "larr" end def to_unicodemath(**) Utility.html_entity_to_unicode("←") end def to_mathml_without_math_tag(_, **) ox_element("mo") << "←" end def to_omml_without_math_tag(_, **) "←" end def to_html(**) "←" end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems