Sha256: a43e18558b8d3ee61b5be988026dfc83ed49b4862524a323988a709bf0af4f0b
Contents?: true
Size: 1.12 KB
Versions: 8
Compression:
Stored size: 1.12 KB
Contents
module Plurimath module Math module Symbols class Duni < Symbol INPUT = { unicodemath: [["⋃"], parsing_wrapper(["bigcup", "uuu", "duni"], lang: :unicode)], asciimath: [["bigcup", "uuu", "⋃"], parsing_wrapper(["duni"], lang: :asciimath)], mathml: ["⋃"], latex: [["bigcup", "duni", "⋃"], parsing_wrapper(["uuu"], lang: :latex)], omml: ["⋃"], html: ["⋃"], }.freeze # output methods def to_latex(**) "\\bigcup" end def to_asciimath(**) parsing_wrapper("duni", 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 def nary_intent_name ":n-ary" end def is_nary_symbol? true end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems