Class: Plurimath::Math::Symbols::Paren::UpcaseLangle

Inherits:
Paren
  • Object
show all
Defined in:
lib/plurimath/math/symbols/paren/upcase_langle.rb

Constant Summary collapse

INPUT =
{
  unicodemath: ["⟪", "Langle"],
  asciimath: [["⟪"],
              parsing_wrapper(["Langle"], lang: :asciimath)],
  mathml: ["⟪"],
  latex: ["⟪", parsing_wrapper(["Langle"], lang: :latex)],
  omml: ["⟪"],
  html: ["⟪"],
}.freeze

Instance Method Summary collapse

Instance Method Details

#close?Boolean

Returns:

  • (Boolean)


45
46
47
# File 'lib/plurimath/math/symbols/paren/upcase_langle.rb', line 45

def close?
  false
end

#closingObject



49
50
51
# File 'lib/plurimath/math/symbols/paren/upcase_langle.rb', line 49

def closing
  Rbrack
end

#open?Boolean

Returns:

  • (Boolean)


41
42
43
# File 'lib/plurimath/math/symbols/paren/upcase_langle.rb', line 41

def open?
  true
end

#to_asciimathObject



21
22
23
# File 'lib/plurimath/math/symbols/paren/upcase_langle.rb', line 21

def to_asciimath(**)
  parsing_wrapper("Langle", lang: :asciimath)
end

#to_htmlObject



37
38
39
# File 'lib/plurimath/math/symbols/paren/upcase_langle.rb', line 37

def to_html(**)
  "⟪"
end

#to_latexObject

output methods



17
18
19
# File 'lib/plurimath/math/symbols/paren/upcase_langle.rb', line 17

def to_latex(**)
  parsing_wrapper("Langle", lang: :latex)
end

#to_mathml_without_math_tag(_) ⇒ Object



29
30
31
# File 'lib/plurimath/math/symbols/paren/upcase_langle.rb', line 29

def to_mathml_without_math_tag(_, **)
  ox_element("mi") << encoded
end

#to_omml_without_math_tag(_) ⇒ Object



33
34
35
# File 'lib/plurimath/math/symbols/paren/upcase_langle.rb', line 33

def to_omml_without_math_tag(_, **)
  "&#x27ea;"
end

#to_unicodemathObject



25
26
27
# File 'lib/plurimath/math/symbols/paren/upcase_langle.rb', line 25

def to_unicodemath(**)
  encoded
end