Sha256: 82beed51234018ab7e8e05932bcc1127b43809b4c1bc313cc26a21493ad84337
Contents?: true
Size: 1.33 KB
Versions: 2
Compression:
Stored size: 1.33 KB
Contents
module Plurimath module Math module Symbols class Paren class Rangle < Paren INPUT = { unicodemath: [["〉", "⟩", "ket"], parsing_wrapper(["rangle", ":)", ">>", "⟩"])], asciimath: [["rangle", ":)", ">>", "〉", "⟩"], parsing_wrapper(["⟩", "ket"])], mathml: ["〉", "⟩"], latex: [["\\rangle", "〉", "⟩"], parsing_wrapper([":)", ">>", "⟩", "ket"])], omml: ["〉", "⟩"], html: ["〉", "⟩"], }.freeze # output methods def to_latex "\\rangle" end def to_asciimath ">>" end def to_unicodemath Utility.html_entity_to_unicode("⟩") end def to_mathml_without_math_tag(_) ox_element("mi") << paren_value end def to_omml_without_math_tag(_) "⟩" end def to_html paren_value end def open? false end def close? true end def opening Langle end def paren_value "〉" end 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/paren/rangle.rb |
plurimath-0.8.11 | lib/plurimath/math/symbols/paren/rangle.rb |