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