Sha256: 7f70af924f7a0a74b23230db9ae382fa15dc945ff722689d4976b93c0ff7d6a3
Contents?: true
Size: 1 KB
Versions: 15
Compression:
Stored size: 1 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") me << parameter_one.to_omml_without_math_tag Utility.update_nodes( bar, [ barpr, me, ], ) end def class_name "underline" end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems