Sha256: 599439586679bcddd5f4234768b6739a273201a92494fb34fea3504b7342f355
Contents?: true
Size: 921 Bytes
Versions: 10
Compression:
Stored size: 921 Bytes
Contents
module Plurimath module Math module Symbols class Backslash < Symbol INPUT = { unicodemath: [["\"], parsing_wrapper(["backslash", "\\"], lang: :unicode)], asciimath: ["backslash", "\", "\\"], mathml: ["\"], latex: [["backslash", "\"], parsing_wrapper(["\\"], lang: :latex)], omml: ["\"], html: ["\"], }.freeze # output methods def to_latex(**) "\\backslash" end def to_asciimath(**) "\\" end def to_unicodemath(**) Utility.html_entity_to_unicode("\") 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
10 entries across 10 versions & 1 rubygems