Sha256: 33ab4000eb05b1a2e67399ae12a787c07c8a4949391b395e9d8380355b1f8a7f
Contents?: true
Size: 919 Bytes
Versions: 2
Compression:
Stored size: 919 Bytes
Contents
module Plurimath module Math module Symbols class Wedge < Symbol INPUT = { unicodemath: [["wedge", "∧"], parsing_wrapper(["^^", "land"])], asciimath: [["wedge", "^^", "∧"], parsing_wrapper(["land"])], mathml: ["∧"], latex: [["wedge", "land", "∧"], parsing_wrapper(["^^"])], omml: ["∧"], html: ["∧"], }.freeze # output methods def to_latex "\\wedge" end def to_asciimath "wedge" 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/wedge.rb |
plurimath-0.8.11 | lib/plurimath/math/symbols/wedge.rb |