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