Sha256: 0384316d792100b9050ece9604615720f80f9615d33e03db24cf3c3fc80076b5
Contents?: true
Size: 934 Bytes
Versions: 7
Compression:
Stored size: 934 Bytes
Contents
module Plurimath module Math module Symbols class Coprod < Symbol INPUT = { unicodemath: [["∐"], parsing_wrapper(["coprod"])], asciimath: [["∐"], parsing_wrapper(["coprod"])], mathml: ["∐"], latex: [["coprod", "∐"]], omml: ["∐"], html: ["∐"], }.freeze # output methods def to_latex "\\coprod" end def to_asciimath parsing_wrapper("coprod") 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 def is_nary_symbol? true end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems