Sha256: 392ff422dc64dc93a2e841418e0fde8a37206af4577fb57a13fb249df1f71e60
Contents?: true
Size: 1011 Bytes
Versions: 10
Compression:
Stored size: 1011 Bytes
Contents
module Plurimath module Math module Symbols class Lor < Symbol INPUT = { unicodemath: [["lor", "∨"], parsing_wrapper(["vee", "vv"], lang: :unicode)], asciimath: [["vee", "vv", "∨"], parsing_wrapper(["lor"], lang: :asciimath)], mathml: ["∨"], latex: [["vee", "lor", "∨"], parsing_wrapper(["vv"], lang: :latex)], omml: ["∨"], html: ["∨"], }.freeze # output methods def to_latex(**) "\\vee" end def to_asciimath(**) parsing_wrapper("lor", 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
10 entries across 10 versions & 1 rubygems