Class: Plurimath::Math::Function::Multiscript
- Inherits:
-
TernaryFunction
- Object
- Core
- TernaryFunction
- Plurimath::Math::Function::Multiscript
- Defined in:
- lib/plurimath/math/function/multiscript.rb
Instance Attribute Summary
Attributes inherited from TernaryFunction
#parameter_one, #parameter_three, #parameter_two
Instance Method Summary collapse
Methods inherited from TernaryFunction
#==, #class_name, #initialize, #to_asciimath, #to_html, #to_latex, #to_mathml_without_math_tag
Methods inherited from Core
#class_name, #empty_tag, #insert_t_tag, #nary_attr_value, #omml_parameter, #tag_name, #validate_function_formula
Constructor Details
This class inherits a constructor from Plurimath::Math::Function::TernaryFunction
Instance Method Details
#to_omml_without_math_tag ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/plurimath/math/function/multiscript.rb', line 8 def to_omml_without_math_tag pre_element = Utility.ox_element("sPre", namespace: "m") pr_element = Utility.ox_element("sPrePr", namespace: "m") Utility.update_nodes( pre_element, [ pr_element << Utility.pr_element("ctrl", true, namespace: "m"), omml_parameter(parameter_two, tag_name: "sub"), omml_parameter(parameter_three, tag_name: "sup"), omml_parameter(parameter_one, tag_name: "e"), ], ) [pre_element] end |