Sha256: fe6e404a1b28025c062e35299644e9004fa05df3986082c01487b5dc9ab3ca2d
Contents?: true
Size: 899 Bytes
Versions: 10
Compression:
Stored size: 899 Bytes
Contents
module Plurimath module Math module Symbols class Mathslash < Symbol INPUT = { unicodemath: [["/"], parsing_wrapper(["//", "mathslash"], lang: :unicode)], asciimath: [["//", "/"], parsing_wrapper(["mathslash"], lang: :asciimath)], mathml: ["/"], latex: ["mathslash", "//", "/"], omml: ["/"], html: ["/"], }.freeze # output methods def to_latex(**) "/" end def to_asciimath(**) "//" 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