Sha256: cdac49f5bb8dad402e1d470e08833a8eb77d0253dfab64c754f4422d530c9a82
Contents?: true
Size: 1.02 KB
Versions: 2
Compression:
Stored size: 1.02 KB
Contents
module Plurimath module Math module Symbols class Ntriangleright < Symbol INPUT = { unicodemath: [["ntriangleright", "⋫"], parsing_wrapper(["NotRightTriangle"], lang: :unicode)], asciimath: [["⋫"], parsing_wrapper(["ntriangleright", "NotRightTriangle"], lang: :asciimath)], mathml: ["⋫"], latex: [["NotRightTriangle", "ntriangleright", "⋫"]], omml: ["⋫"], html: ["⋫"], }.freeze # output methods def to_latex "\\NotRightTriangle" end def to_asciimath parsing_wrapper("ntriangleright", 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/ntriangleright.rb |
plurimath-0.8.13 | lib/plurimath/math/symbols/ntriangleright.rb |