Sha256: 14e79caab6b4d3ec54f9981402be951aea55022c4425a9ae3283aa78cf74d78b
Contents?: true
Size: 1014 Bytes
Versions: 9
Compression:
Stored size: 1014 Bytes
Contents
module Plurimath module Math module Symbols class Ddag < Symbol INPUT = { unicodemath: [["ddag", "‡"], parsing_wrapper(["ddagger"], lang: :unicode)], asciimath: [["‡"], parsing_wrapper(["ddag", "ddagger"], lang: :asciimath)], mathml: ["‡"], latex: [["ddagger", "‡"], parsing_wrapper(["ddag"], lang: :latex)], omml: ["‡"], html: ["‡"], }.freeze # output methods def to_latex(**) "\\ddagger" end def to_asciimath(**) parsing_wrapper("ddag", 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 end end end end
Version data entries
9 entries across 9 versions & 1 rubygems