Sha256: ed622bd9eafebc7afc15ea479b3068e4cad43a2aeab2bf9f1a4cd12a6886734c
Contents?: true
Size: 857 Bytes
Versions: 2
Compression:
Stored size: 857 Bytes
Contents
module Plurimath module Math module Symbols class Nn < Symbol INPUT = { unicodemath: [["ℕ"], parsing_wrapper(["NN"])], asciimath: [["ℕ"], parsing_wrapper(["NN"])], mathml: ["ℕ"], latex: [["NN", "ℕ"]], omml: ["ℕ"], html: ["ℕ"], }.freeze # output methods def to_latex "\\NN" end def to_asciimath parsing_wrapper("NN") 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
plurimath-0.8.12 | lib/plurimath/math/symbols/nn.rb |
plurimath-0.8.11 | lib/plurimath/math/symbols/nn.rb |