Sha256: 19e283e656b9a26d232fe75ed07e0b76ef53f863984739c30d462089ada77182
Contents?: true
Size: 812 Bytes
Versions: 15
Compression:
Stored size: 812 Bytes
Contents
# frozen_string_literal: true require_relative "binary_function" module Plurimath module Math module Function class FontStyle < BinaryFunction def to_asciimath parameter_one&.to_asciimath end def to_mathml_without_math_tag first_value = parameter_one&.to_mathml_without_math_tag Utility.update_nodes( Utility.ox_element( "mstyle", attributes: { mathvariant: parameter_two }, ), [first_value], ) end def to_omml_without_math_tag parameter_one&.to_omml_without_math_tag end def to_html parameter_one&.to_html end def to_latex parameter_one&.to_latex end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems