Sha256: 3a0fe2943e6edadd8ec59eb658f34cc8188698eacc87a16abcebb8b885a1cc55
Contents?: true
Size: 1.03 KB
Versions: 2
Compression:
Stored size: 1.03 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 Underline = Ul end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
plurimath-0.3.9 | lib/plurimath/math/function/ul.rb |
plurimath-0.3.8 | lib/plurimath/math/function/ul.rb |