<xs:attributeGroup name="Token-style.attrib">
<xs:attribute name="mathvariant">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="normal"/>
<xs:enumeration value="bold"/>
<xs:enumeration value="italic"/>
<xs:enumeration value="bold-italic"/>
<xs:enumeration value="double-struck"/>
<xs:enumeration value="bold-fraktur"/>
<xs:enumeration value="script"/>
<xs:enumeration value="bold-script"/>
<xs:enumeration value="fraktur"/>
<xs:enumeration value="sans-serif"/>
<xs:enumeration value="bold-sans-serif"/>
<xs:enumeration value="sans-serif-italic"/>
<xs:enumeration value="sans-serif-bold-italic"/>
<xs:enumeration value="monospace"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="mathsize">
<xs:simpleType>
<xs:union memberTypes="simple-size length-with-unit"/>
</xs:simpleType>
</xs:attribute>
<!-- For both of the following attributes the types should be
more restricted -->
<xs:attribute name="mathcolor" type="xs:string"/>
<xs:attribute name="mathbackground" type="xs:string"/>
</xs:attributeGroup> |