Sha256: df9356f9061a75a9f63669e61d645d71d4076619ba022e3917cc12a45c459a0d
Contents?: true
Size: 815 Bytes
Versions: 2
Compression:
Stored size: 815 Bytes
Contents
# frozen_string_literal: true require_relative "unary_function" module Plurimath module Math module Function class Ubrace < UnaryFunction def to_latex first_value = "{#{parameter_one.to_latex}}" if parameter_one "\\underbrace#{first_value}" end def to_mathml_without_math_tag mo_tag = (Utility.ox_element("mo") << "⏟") if parameter_one over_tag = Utility.ox_element("munder") arr_value = mathml_value Utility.update_nodes(over_tag, (arr_value << mo_tag)) else mo_tag end end def tag_name "underover" end def validate_function_formula false end end Underbrace = Ubrace end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
plurimath-0.3.7 | lib/plurimath/math/function/ubrace.rb |
plurimath-0.3.6 | lib/plurimath/math/function/ubrace.rb |