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