setStyle — Computes a CSS style rule for an element with respect to all style attributes.
<xsl:function name="func:setStyle"> <xsl:param name="mathvariant"/> <xsl:param name="mathcolor"/> <xsl:param name="mathbackground"/> ... </xsl:function>
This function computes the CSS style attribute. It checks if the mathvariant
contains
the string bold
and the string italic
and adds the correct CSS rules
with respect to this verification. It also adds a fill
rule to change the color of the drawed element width respect
to the mathcolor
pamareter.