Sha256: 06104b9f0e3b1a5d73078977a0e472828a78c4549cc43dfd77e1c04a025289f3
Contents?: true
Size: 909 Bytes
Versions: 2
Compression:
Stored size: 909 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
plurimath-0.8.14 | lib/plurimath/math/symbols/nn.rb |
plurimath-0.8.13 | lib/plurimath/math/symbols/nn.rb |