Sha256: 814ea42a1ee5031fd0264fc90b8988f7482298b9dcfc8b1348b43ea0ad0418f7
Contents?: true
Size: 939 Bytes
Versions: 2
Compression:
Stored size: 939 Bytes
Contents
module Plurimath module Math module Symbols class Dots < Symbol INPUT = { unicodemath: [["ldots", "...", "dots", "…"], parsing_wrapper(["unicodeellipsis"])], asciimath: [["ldots", "...", "…"], parsing_wrapper(["dots", "unicodeellipsis"])], mathml: ["…"], latex: [["unicodeellipsis", "ldots", "…"], parsing_wrapper(["...", "dots"])], 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
plurimath-0.8.12 | lib/plurimath/math/symbols/dots.rb |
plurimath-0.8.11 | lib/plurimath/math/symbols/dots.rb |