Sha256: 6ce76d025449fbbe34602468b4884ac08ce34cf7698aa3e6257b4eb0e5d17bf4
Contents?: true
Size: 871 Bytes
Versions: 7
Compression:
Stored size: 871 Bytes
Contents
module Plurimath module Math module Symbols class Mathdollar < Symbol INPUT = { unicodemath: [["$"], parsing_wrapper(["$", "mathdollar"])], asciimath: [["$", "$"], parsing_wrapper(["mathdollar"])], mathml: ["$"], latex: [["mathdollar", "$", "$"]], omml: ["$"], html: ["$"], }.freeze # output methods def to_latex "\\mathdollar" end def to_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 end end end end
Version data entries
7 entries across 7 versions & 1 rubygems