Sha256: a792b8c97c97eae4e3623e9ff9c1b24fecc304c6993c823783c6512360061f9d
Contents?: true
Size: 694 Bytes
Versions: 10
Compression:
Stored size: 694 Bytes
Contents
# frozen_string_literal: true require_relative "unary_function" module Plurimath module Math module Function class Ms < UnaryFunction def to_mathml_without_math_tag Utility.ox_element("ms") << parameter_one end def to_asciimath "\"“#{parameter_one}”\"" end def to_latex "\\text{“#{parameter_one}”}" end def to_omml_without_math_tag(display_style) [ (Utility.ox_element("t", namespace: "m") << "“#{parameter_one}”"), ] end def to_unicodemath Text.new(parameter_one).to_unicodemath end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems