Sha256: b291f666fa0d9818aa936a79fd8b8c2334f9396e93049a1dd409fd646d977296
Contents?: true
Size: 970 Bytes
Versions: 14
Compression:
Stored size: 970 Bytes
Contents
module Plurimath module Math module Symbols class Hookrightarrow < Symbol INPUT = { unicodemath: [["hookrightarrow", "↪"]], asciimath: [["↪"], parsing_wrapper(["hookrightarrow"], lang: :asciimath)], mathml: ["↪"], latex: [["hookrightarrow", "↪"]], omml: ["↪"], html: ["↪"], }.freeze # output methods def to_latex(**) "\\hookrightarrow" end def to_asciimath(**) parsing_wrapper("hookrightarrow", 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
14 entries across 14 versions & 1 rubygems