Sha256: 5b79d41c7bdbfb9d3374914909219901b87df785b55f27ae0ee3b036e7403faa
Contents?: true
Size: 1.01 KB
Versions: 2
Compression:
Stored size: 1.01 KB
Contents
# frozen_string_literal: true require_relative "unary_function" module Plurimath module Math module Function class Ul < UnaryFunction def to_mathml_without_math_tag first_value = parameter_one&.to_mathml_without_math_tag Utility.update_nodes( Utility.ox_element("munder"), [ first_value, Utility.ox_element("mo") << "¯", ], ) end def to_omml_without_math_tag bar = Utility.ox_element("bar", namespace: "m") barpr = Utility.ox_element("barPr", namespace: "m") barpr << Utility.pr_element("ctrl", true, namespace: "m") me = Utility.ox_element("e", namespace: "m") Utility.update_nodes(me, omml_value) Utility.update_nodes( bar, [ barpr, me, ], ) [bar] end def class_name "underline" end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
plurimath-0.3.7 | lib/plurimath/math/function/ul.rb |
plurimath-0.3.6 | lib/plurimath/math/function/ul.rb |