Sha256: 51c32f00d08e781fa6b688dfa856fa015f2a3d10e0108142a99b17f9bdf11101
Contents?: true
Size: 1018 Bytes
Versions: 2
Compression:
Stored size: 1018 Bytes
Contents
module Plurimath module Math module Symbols class Prcue < Symbol INPUT = { unicodemath: [["prcue", "preccurlyeq", "≼"], parsing_wrapper(["PrecedesSlantEqual"])], asciimath: [["≼"], parsing_wrapper(["prcue", "preccurlyeq", "PrecedesSlantEqual"])], mathml: ["≼"], latex: [["PrecedesSlantEqual", "preccurlyeq", "≼"], parsing_wrapper(["prcue"])], omml: ["≼"], html: ["≼"], }.freeze # output methods def to_latex "\\PrecedesSlantEqual" end def to_asciimath parsing_wrapper("prcue") 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/prcue.rb |
plurimath-0.8.11 | lib/plurimath/math/symbols/prcue.rb |