Sha256: 9c49118ff5f5053051d7089f8fff9a43bc978cb10282346415aa650c48ef2392
Contents?: true
Size: 692 Bytes
Versions: 15
Compression:
Stored size: 692 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 end Underbrace = Ubrace end end end
Version data entries
15 entries across 15 versions & 1 rubygems