267 changed files with 9312 additions and 613 deletions
@ -1,3 +1,3 @@ |
|||||
application.title=\u98CE\u9669\u7BA1\u7406\u5E73\u53F0 |
application.title=\u5B87\u4FE1\u79D1\u6280-\u98CE\u9669\u7BA1\u7406\u5E73\u53F0 |
||||
application.version=$version |
application.version=$version |
||||
application.copyright=Copyright \u00A9 2019\u20132022 |
application.copyright=Copyright \u00A9 2019\u20132022 |
@ -0,0 +1,99 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" |
||||
|
xmlns:m="http://www.w3.org/1998/Math/MathML" |
||||
|
elementFormDefault="qualified" |
||||
|
targetNamespace="http://www.w3.org/1998/Math/MathML"> |
||||
|
<xs:element name="math"> |
||||
|
<xs:complexType> |
||||
|
<xs:group minOccurs="0" maxOccurs="unbounded" ref="m:MathExpression"/> |
||||
|
<xs:attributeGroup ref="m:math.attributes"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:attributeGroup name="CommonDeprecatedAtt"> |
||||
|
<xs:attribute name="other"/> |
||||
|
</xs:attributeGroup> |
||||
|
<xs:attributeGroup name="CommonAtt"> |
||||
|
<xs:attribute name="id" type="xs:ID"/> |
||||
|
<xs:attribute name="xref"/> |
||||
|
<xs:attribute name="class" type="xs:NMTOKENS"/> |
||||
|
<xs:attribute name="style" type="xs:string"/> |
||||
|
<xs:attribute name="href" type="xs:anyURI"/> |
||||
|
<xs:attributeGroup ref="m:CommonDeprecatedAtt"/> |
||||
|
<xs:anyAttribute namespace="##other" processContents="skip"/> |
||||
|
</xs:attributeGroup> |
||||
|
<xs:attributeGroup name="math.deprecatedattributes"> |
||||
|
<xs:attribute name="mode" type="xs:string"/> |
||||
|
<xs:attribute name="macros" type="xs:string"/> |
||||
|
</xs:attributeGroup> |
||||
|
<xs:attributeGroup name="name"> |
||||
|
<xs:attribute name="name" use="required" type="xs:NCName"/> |
||||
|
</xs:attributeGroup> |
||||
|
<xs:attributeGroup name="cd"> |
||||
|
<xs:attribute name="cd" use="required" type="xs:NCName"/> |
||||
|
</xs:attributeGroup> |
||||
|
<xs:attributeGroup name="src"> |
||||
|
<xs:attribute name="src" type="xs:anyURI"/> |
||||
|
</xs:attributeGroup> |
||||
|
<xs:element name="annotation"> |
||||
|
<xs:complexType mixed="true"> |
||||
|
<xs:attributeGroup ref="m:annotation.attributes"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:complexType name="annotation-xml.model"><!--content model altered for libxml (annotation-xml)--><xs:sequence> |
||||
|
<xs:any processContents="lax"/> |
||||
|
</xs:sequence> |
||||
|
</xs:complexType> |
||||
|
<xs:group name="anyElement"> |
||||
|
<xs:choice> |
||||
|
<xs:any namespace="##other" processContents="skip"/> |
||||
|
<xs:any namespace="##local" processContents="skip"/> |
||||
|
</xs:choice> |
||||
|
</xs:group> |
||||
|
<xs:element name="annotation-xml"> |
||||
|
<xs:complexType> |
||||
|
<xs:complexContent> |
||||
|
<xs:extension base="m:annotation-xml.model"> |
||||
|
<xs:attributeGroup ref="m:annotation.attributes"/> |
||||
|
</xs:extension> |
||||
|
</xs:complexContent> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:attributeGroup name="annotation.attributes"> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attribute name="cd" type="xs:NCName"/> |
||||
|
<xs:attribute name="name" type="xs:NCName"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
<xs:attributeGroup ref="m:src"/> |
||||
|
</xs:attributeGroup> |
||||
|
<xs:attributeGroup name="DefEncAtt"> |
||||
|
<xs:attribute name="encoding" type="xs:string"/> |
||||
|
<xs:attribute name="definitionURL" type="xs:anyURI"/> |
||||
|
</xs:attributeGroup> |
||||
|
<xs:group name="semantics"> |
||||
|
<xs:sequence> |
||||
|
<xs:element name="semantics"> |
||||
|
<xs:complexType> |
||||
|
<xs:sequence> |
||||
|
<xs:group ref="m:MathExpression"/> |
||||
|
<xs:choice minOccurs="0" maxOccurs="unbounded"> |
||||
|
<xs:element ref="m:annotation"/> |
||||
|
<xs:element ref="m:annotation-xml"/> |
||||
|
</xs:choice> |
||||
|
</xs:sequence> |
||||
|
<xs:attributeGroup ref="m:semantics.attributes"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
</xs:sequence> |
||||
|
</xs:group> |
||||
|
<xs:attributeGroup name="semantics.attributes"> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
<xs:attribute name="cd" type="xs:NCName"/> |
||||
|
<xs:attribute name="name" type="xs:NCName"/> |
||||
|
</xs:attributeGroup> |
||||
|
<xs:simpleType name="length"> |
||||
|
<xs:restriction base="xs:string"> |
||||
|
<xs:pattern value="\s*((-?[0-9]*([0-9]\.?|\.[0-9])[0-9]*(e[mx]|in|cm|mm|p[xtc]|%)?)|(negative)?((very){0,2}thi(n|ck)|medium)mathspace)\s*"/> |
||||
|
</xs:restriction> |
||||
|
</xs:simpleType> |
||||
|
</xs:schema> |
@ -0,0 +1,684 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" |
||||
|
xmlns:m="http://www.w3.org/1998/Math/MathML" |
||||
|
elementFormDefault="qualified" |
||||
|
targetNamespace="http://www.w3.org/1998/Math/MathML"> |
||||
|
<xs:include schemaLocation="mathml3-strict-content.xsd"/> |
||||
|
<xs:complexType name="cn.content" mixed="true"> |
||||
|
<xs:choice minOccurs="0" maxOccurs="unbounded"> |
||||
|
<xs:element ref="m:mglyph"/> |
||||
|
<xs:element ref="m:sep"/> |
||||
|
<xs:element ref="m:PresentationExpression"/> |
||||
|
</xs:choice> |
||||
|
</xs:complexType> |
||||
|
<xs:attributeGroup name="cn.attributes"> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
<xs:attribute name="type"/> |
||||
|
<xs:attribute name="base"/> |
||||
|
</xs:attributeGroup> |
||||
|
<xs:attributeGroup name="ci.attributes"> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
<xs:attribute name="type"/> |
||||
|
</xs:attributeGroup> |
||||
|
<xs:attributeGroup name="ci.type"> |
||||
|
<xs:attribute name="type" use="required"/> |
||||
|
</xs:attributeGroup> |
||||
|
<xs:complexType name="ci.content" mixed="true"> |
||||
|
<xs:choice minOccurs="0" maxOccurs="unbounded"> |
||||
|
<xs:element ref="m:mglyph"/> |
||||
|
<xs:element ref="m:PresentationExpression"/> |
||||
|
</xs:choice> |
||||
|
</xs:complexType> |
||||
|
<xs:attributeGroup name="csymbol.attributes"> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
<xs:attribute name="type"/> |
||||
|
<xs:attribute name="cd" type="xs:NCName"/> |
||||
|
</xs:attributeGroup> |
||||
|
<xs:complexType name="csymbol.content" mixed="true"> |
||||
|
<xs:choice minOccurs="0" maxOccurs="unbounded"> |
||||
|
<xs:element ref="m:mglyph"/> |
||||
|
<xs:element ref="m:PresentationExpression"/> |
||||
|
</xs:choice> |
||||
|
</xs:complexType> |
||||
|
<xs:element name="bvar"> |
||||
|
<xs:complexType> |
||||
|
<xs:choice minOccurs="0" maxOccurs="unbounded"> |
||||
|
<xs:choice> |
||||
|
<xs:element ref="m:ci"/> |
||||
|
<xs:group ref="m:semantics-ci"/> |
||||
|
</xs:choice> |
||||
|
<xs:element ref="m:degree"/> |
||||
|
</xs:choice> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:attributeGroup name="cbytes.attributes"> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:attributeGroup> |
||||
|
<xs:attributeGroup name="cs.attributes"> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:attributeGroup> |
||||
|
<!--Ambiguous content model altered (apply.content)--> |
||||
|
<xs:complexType name="apply.content"> |
||||
|
<xs:sequence> |
||||
|
<xs:group ref="m:ContExp"/> |
||||
|
<xs:group ref="m:BvarQ"/> |
||||
|
<xs:group minOccurs="0" maxOccurs="unbounded" ref="m:Qualifier"/> |
||||
|
<xs:group minOccurs="0" maxOccurs="unbounded" ref="m:ContExp"/> |
||||
|
</xs:sequence> |
||||
|
</xs:complexType> |
||||
|
<xs:complexType name="bind.content"> |
||||
|
<xs:complexContent> |
||||
|
<xs:extension base="m:apply.content"/> |
||||
|
</xs:complexContent> |
||||
|
</xs:complexType> |
||||
|
<xs:attributeGroup name="base"> |
||||
|
<xs:attribute name="base" use="required"/> |
||||
|
</xs:attributeGroup> |
||||
|
<xs:element name="sep"> |
||||
|
<xs:complexType/> |
||||
|
</xs:element> |
||||
|
<xs:element name="PresentationExpression" abstract="true"/> |
||||
|
<xs:group name="DomainQ"> |
||||
|
<xs:sequence> |
||||
|
<xs:choice minOccurs="0" maxOccurs="unbounded"> |
||||
|
<xs:element ref="m:domainofapplication"/> |
||||
|
<xs:element ref="m:condition"/> |
||||
|
<!--Ambiguous content model altered (interval)--><xs:sequence> |
||||
|
<xs:element ref="m:lowlimit"/> |
||||
|
<xs:element minOccurs="0" ref="m:uplimit"/> |
||||
|
</xs:sequence> |
||||
|
</xs:choice> |
||||
|
</xs:sequence> |
||||
|
</xs:group> |
||||
|
<xs:element name="domainofapplication"> |
||||
|
<xs:complexType> |
||||
|
<xs:group ref="m:ContExp"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="condition"> |
||||
|
<xs:complexType> |
||||
|
<xs:group ref="m:ContExp"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="uplimit"> |
||||
|
<xs:complexType> |
||||
|
<xs:group ref="m:ContExp"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="lowlimit"> |
||||
|
<xs:complexType> |
||||
|
<xs:group ref="m:ContExp"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:group name="Qualifier"> |
||||
|
<xs:choice> |
||||
|
<xs:group ref="m:DomainQ"/> |
||||
|
<xs:element ref="m:degree"/> |
||||
|
<xs:element ref="m:momentabout"/> |
||||
|
<xs:element ref="m:logbase"/> |
||||
|
</xs:choice> |
||||
|
</xs:group> |
||||
|
<xs:element name="degree"> |
||||
|
<xs:complexType> |
||||
|
<xs:group ref="m:ContExp"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="momentabout"> |
||||
|
<xs:complexType> |
||||
|
<xs:group ref="m:ContExp"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="logbase"> |
||||
|
<xs:complexType> |
||||
|
<xs:group ref="m:ContExp"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:attributeGroup name="type"> |
||||
|
<xs:attribute name="type" use="required"/> |
||||
|
</xs:attributeGroup> |
||||
|
<xs:attributeGroup name="order"> |
||||
|
<xs:attribute name="order" use="required"> |
||||
|
<xs:simpleType> |
||||
|
<xs:restriction base="xs:token"> |
||||
|
<xs:enumeration value="numeric"/> |
||||
|
<xs:enumeration value="lexicographic"/> |
||||
|
</xs:restriction> |
||||
|
</xs:simpleType> |
||||
|
</xs:attribute> |
||||
|
</xs:attributeGroup> |
||||
|
<xs:attributeGroup name="closure"> |
||||
|
<xs:attribute name="closure" use="required"/> |
||||
|
</xs:attributeGroup> |
||||
|
<xs:element name="piecewise"> |
||||
|
<xs:complexType> |
||||
|
<xs:choice minOccurs="0" maxOccurs="unbounded"> |
||||
|
<xs:element ref="m:piece"/> |
||||
|
<xs:element ref="m:otherwise"/> |
||||
|
</xs:choice> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="piece"> |
||||
|
<xs:complexType> |
||||
|
<xs:sequence> |
||||
|
<xs:group ref="m:ContExp"/> |
||||
|
<xs:group ref="m:ContExp"/> |
||||
|
</xs:sequence> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="otherwise"> |
||||
|
<xs:complexType> |
||||
|
<xs:group ref="m:ContExp"/> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="DeprecatedContExp" abstract="true"/> |
||||
|
<xs:element name="reln" substitutionGroup="m:DeprecatedContExp"> |
||||
|
<xs:complexType> |
||||
|
<xs:group minOccurs="0" maxOccurs="unbounded" ref="m:ContExp"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="fn" substitutionGroup="m:DeprecatedContExp"> |
||||
|
<xs:complexType> |
||||
|
<xs:group ref="m:ContExp"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="declare" substitutionGroup="m:DeprecatedContExp"> |
||||
|
<xs:complexType> |
||||
|
<xs:group maxOccurs="unbounded" ref="m:ContExp"/> |
||||
|
<xs:attribute name="type" type="xs:string"/> |
||||
|
<xs:attribute name="scope" type="xs:string"/> |
||||
|
<xs:attribute name="nargs" type="xs:nonNegativeInteger"/> |
||||
|
<xs:attribute name="occurrence"> |
||||
|
<xs:simpleType> |
||||
|
<xs:restriction base="xs:token"> |
||||
|
<xs:enumeration value="prefix"/> |
||||
|
<xs:enumeration value="infix"/> |
||||
|
<xs:enumeration value="function-model"/> |
||||
|
</xs:restriction> |
||||
|
</xs:simpleType> |
||||
|
</xs:attribute> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="interval.class" abstract="true"> |
||||
|
<xs:complexType> |
||||
|
<xs:sequence> |
||||
|
<xs:group ref="m:ContExp"/> |
||||
|
<xs:group ref="m:ContExp"/> |
||||
|
</xs:sequence> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
<xs:attribute name="closure"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="interval" substitutionGroup="m:interval.class"/> |
||||
|
<xs:element name="unary-functional.class" abstract="true"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="inverse" substitutionGroup="m:unary-functional.class"/> |
||||
|
<xs:element name="ident" substitutionGroup="m:unary-functional.class"/> |
||||
|
<xs:element name="domain" substitutionGroup="m:unary-functional.class"/> |
||||
|
<xs:element name="codomain" substitutionGroup="m:unary-functional.class"/> |
||||
|
<xs:element name="image" substitutionGroup="m:unary-functional.class"/> |
||||
|
<xs:element name="ln" substitutionGroup="m:unary-functional.class"/> |
||||
|
<xs:element name="log" substitutionGroup="m:unary-functional.class"/> |
||||
|
<xs:element name="moment" substitutionGroup="m:unary-functional.class"/> |
||||
|
<xs:element name="lambda.class" abstract="true"> |
||||
|
<xs:complexType> |
||||
|
<xs:sequence> |
||||
|
<xs:group ref="m:BvarQ"/> |
||||
|
<xs:group ref="m:DomainQ"/> |
||||
|
<xs:group ref="m:ContExp"/> |
||||
|
</xs:sequence> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="lambda" substitutionGroup="m:lambda.class"/> |
||||
|
<xs:element name="nary-functional.class" abstract="true"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="compose" substitutionGroup="m:nary-functional.class"/> |
||||
|
<xs:group name="binary-arith.class"> |
||||
|
<xs:choice> |
||||
|
<xs:element ref="m:quotient"/> |
||||
|
<xs:element ref="m:divide"/> |
||||
|
<xs:element ref="m:minus"/> |
||||
|
<xs:element ref="m:power"/> |
||||
|
<xs:element ref="m:rem"/> |
||||
|
<xs:element ref="m:root"/> |
||||
|
</xs:choice> |
||||
|
</xs:group> |
||||
|
<xs:element name="quotient"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="divide"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="minus"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="power"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="rem"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="root"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:group name="unary-arith.class"> |
||||
|
<xs:choice> |
||||
|
<xs:element ref="m:factorial"/> |
||||
|
<!--Ambiguous content model altered (minus)--><!--Ambiguous content model altered (root)--><xs:element ref="m:abs"/> |
||||
|
<xs:element ref="m:conjugate"/> |
||||
|
<xs:element ref="m:arg"/> |
||||
|
<xs:element ref="m:real"/> |
||||
|
<xs:element ref="m:imaginary"/> |
||||
|
<xs:element ref="m:floor"/> |
||||
|
<xs:element ref="m:ceiling"/> |
||||
|
<xs:element ref="m:exp"/> |
||||
|
</xs:choice> |
||||
|
</xs:group> |
||||
|
<xs:element name="factorial"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="abs"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="conjugate"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="arg"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="real"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="imaginary"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="floor"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="ceiling"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="exp"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="nary-minmax.class" abstract="true"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="max" substitutionGroup="m:nary-minmax.class"/> |
||||
|
<xs:element name="min" substitutionGroup="m:nary-minmax.class"/> |
||||
|
<xs:element name="nary-arith.class" abstract="true"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="plus" substitutionGroup="m:nary-arith.class"/> |
||||
|
<xs:element name="times" substitutionGroup="m:nary-arith.class"/> |
||||
|
<xs:element name="gcd" substitutionGroup="m:nary-arith.class"/> |
||||
|
<xs:element name="lcm" substitutionGroup="m:nary-arith.class"/> |
||||
|
<xs:element name="nary-logical.class" abstract="true"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="and" substitutionGroup="m:nary-logical.class"/> |
||||
|
<xs:element name="or" substitutionGroup="m:nary-logical.class"/> |
||||
|
<xs:element name="xor" substitutionGroup="m:nary-logical.class"/> |
||||
|
<xs:element name="unary-logical.class" abstract="true"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="not" substitutionGroup="m:unary-logical.class"/> |
||||
|
<xs:element name="binary-logical.class" abstract="true"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="implies" substitutionGroup="m:binary-logical.class"/> |
||||
|
<xs:element name="equivalent" substitutionGroup="m:binary-logical.class"/> |
||||
|
<xs:element name="quantifier.class" abstract="true"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="forall" substitutionGroup="m:quantifier.class"/> |
||||
|
<xs:element name="exists" substitutionGroup="m:quantifier.class"/> |
||||
|
<xs:element name="nary-reln.class" abstract="true"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="eq" substitutionGroup="m:nary-reln.class"/> |
||||
|
<xs:element name="gt" substitutionGroup="m:nary-reln.class"/> |
||||
|
<xs:element name="lt" substitutionGroup="m:nary-reln.class"/> |
||||
|
<xs:element name="geq" substitutionGroup="m:nary-reln.class"/> |
||||
|
<xs:element name="leq" substitutionGroup="m:nary-reln.class"/> |
||||
|
<xs:element name="binary-reln.class" abstract="true"/> |
||||
|
<xs:element name="neq" substitutionGroup="m:binary-reln.class"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="approx" substitutionGroup="m:binary-reln.class"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="factorof" substitutionGroup="m:binary-reln.class"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="tendsto" substitutionGroup="m:binary-reln.class"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
<xs:attribute name="type"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="int.class" abstract="true"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="int" substitutionGroup="m:int.class"/> |
||||
|
<xs:element name="Differential-Operator.class" abstract="true"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="diff" substitutionGroup="m:Differential-Operator.class"/> |
||||
|
<xs:element name="partialdiff.class" abstract="true"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="partialdiff" substitutionGroup="m:partialdiff.class"/> |
||||
|
<xs:element name="unary-veccalc.class" abstract="true"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="divergence" substitutionGroup="m:unary-veccalc.class"/> |
||||
|
<xs:element name="grad" substitutionGroup="m:unary-veccalc.class"/> |
||||
|
<xs:element name="curl" substitutionGroup="m:unary-veccalc.class"/> |
||||
|
<xs:element name="laplacian" substitutionGroup="m:unary-veccalc.class"/> |
||||
|
<xs:element name="nary-setlist-constructor.class" abstract="true"/> |
||||
|
<xs:element name="set" substitutionGroup="m:nary-setlist-constructor.class"> |
||||
|
<xs:complexType> |
||||
|
<xs:sequence> |
||||
|
<xs:group minOccurs="0" maxOccurs="unbounded" ref="m:BvarQ"/> |
||||
|
<xs:group minOccurs="0" maxOccurs="unbounded" ref="m:DomainQ"/> |
||||
|
<xs:group minOccurs="0" maxOccurs="unbounded" ref="m:ContExp"/> |
||||
|
</xs:sequence> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
<xs:attribute name="type"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="list" substitutionGroup="m:nary-setlist-constructor.class"> |
||||
|
<xs:complexType> |
||||
|
<xs:sequence> |
||||
|
<xs:group minOccurs="0" maxOccurs="unbounded" ref="m:BvarQ"/> |
||||
|
<xs:group minOccurs="0" maxOccurs="unbounded" ref="m:DomainQ"/> |
||||
|
<xs:group minOccurs="0" maxOccurs="unbounded" ref="m:ContExp"/> |
||||
|
</xs:sequence> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
<xs:attribute name="order"> |
||||
|
<xs:simpleType> |
||||
|
<xs:restriction base="xs:token"> |
||||
|
<xs:enumeration value="numeric"/> |
||||
|
<xs:enumeration value="lexicographic"/> |
||||
|
</xs:restriction> |
||||
|
</xs:simpleType> |
||||
|
</xs:attribute> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="nary-set.class" abstract="true"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="union" substitutionGroup="m:nary-set.class"/> |
||||
|
<xs:element name="intersect" substitutionGroup="m:nary-set.class"/> |
||||
|
<xs:element name="cartesianproduct" substitutionGroup="m:nary-set.class"/> |
||||
|
<xs:element name="binary-set.class" abstract="true"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="in" substitutionGroup="m:binary-set.class"/> |
||||
|
<xs:element name="notin" substitutionGroup="m:binary-set.class"/> |
||||
|
<xs:element name="notsubset" substitutionGroup="m:binary-set.class"/> |
||||
|
<xs:element name="notprsubset" substitutionGroup="m:binary-set.class"/> |
||||
|
<xs:element name="setdiff" substitutionGroup="m:binary-set.class"/> |
||||
|
<xs:element name="nary-set-reln.class" abstract="true"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="subset" substitutionGroup="m:nary-set-reln.class"/> |
||||
|
<xs:element name="prsubset" substitutionGroup="m:nary-set-reln.class"/> |
||||
|
<xs:element name="unary-set.class" abstract="true"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="card" substitutionGroup="m:unary-set.class"/> |
||||
|
<xs:element name="sum.class" abstract="true"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="sum" substitutionGroup="m:sum.class"/> |
||||
|
<xs:element name="product.class" abstract="true"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="product" substitutionGroup="m:product.class"/> |
||||
|
<xs:element name="limit.class" abstract="true"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="limit" substitutionGroup="m:limit.class"/> |
||||
|
<xs:element name="unary-elementary.class" abstract="true"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="sin" substitutionGroup="m:unary-elementary.class"/> |
||||
|
<xs:element name="cos" substitutionGroup="m:unary-elementary.class"/> |
||||
|
<xs:element name="tan" substitutionGroup="m:unary-elementary.class"/> |
||||
|
<xs:element name="sec" substitutionGroup="m:unary-elementary.class"/> |
||||
|
<xs:element name="csc" substitutionGroup="m:unary-elementary.class"/> |
||||
|
<xs:element name="cot" substitutionGroup="m:unary-elementary.class"/> |
||||
|
<xs:element name="sinh" substitutionGroup="m:unary-elementary.class"/> |
||||
|
<xs:element name="cosh" substitutionGroup="m:unary-elementary.class"/> |
||||
|
<xs:element name="tanh" substitutionGroup="m:unary-elementary.class"/> |
||||
|
<xs:element name="sech" substitutionGroup="m:unary-elementary.class"/> |
||||
|
<xs:element name="csch" substitutionGroup="m:unary-elementary.class"/> |
||||
|
<xs:element name="coth" substitutionGroup="m:unary-elementary.class"/> |
||||
|
<xs:element name="arcsin" substitutionGroup="m:unary-elementary.class"/> |
||||
|
<xs:element name="arccos" substitutionGroup="m:unary-elementary.class"/> |
||||
|
<xs:element name="arctan" substitutionGroup="m:unary-elementary.class"/> |
||||
|
<xs:element name="arccosh" substitutionGroup="m:unary-elementary.class"/> |
||||
|
<xs:element name="arccot" substitutionGroup="m:unary-elementary.class"/> |
||||
|
<xs:element name="arccoth" substitutionGroup="m:unary-elementary.class"/> |
||||
|
<xs:element name="arccsc" substitutionGroup="m:unary-elementary.class"/> |
||||
|
<xs:element name="arccsch" substitutionGroup="m:unary-elementary.class"/> |
||||
|
<xs:element name="arcsec" substitutionGroup="m:unary-elementary.class"/> |
||||
|
<xs:element name="arcsech" substitutionGroup="m:unary-elementary.class"/> |
||||
|
<xs:element name="arcsinh" substitutionGroup="m:unary-elementary.class"/> |
||||
|
<xs:element name="arctanh" substitutionGroup="m:unary-elementary.class"/> |
||||
|
<xs:element name="nary-stats.class" abstract="true"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="mean" substitutionGroup="m:nary-stats.class"/> |
||||
|
<xs:element name="sdev" substitutionGroup="m:nary-stats.class"/> |
||||
|
<xs:element name="variance" substitutionGroup="m:nary-stats.class"/> |
||||
|
<xs:element name="median" substitutionGroup="m:nary-stats.class"/> |
||||
|
<xs:element name="mode" substitutionGroup="m:nary-stats.class"/> |
||||
|
<xs:element name="nary-constructor.class" abstract="true"> |
||||
|
<xs:complexType> |
||||
|
<xs:sequence> |
||||
|
<xs:group ref="m:BvarQ"/> |
||||
|
<xs:group ref="m:DomainQ"/> |
||||
|
<xs:group minOccurs="0" maxOccurs="unbounded" ref="m:ContExp"/> |
||||
|
</xs:sequence> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="vector" substitutionGroup="m:nary-constructor.class"/> |
||||
|
<xs:element name="matrix" substitutionGroup="m:nary-constructor.class"/> |
||||
|
<xs:element name="matrixrow" substitutionGroup="m:nary-constructor.class"/> |
||||
|
<xs:element name="unary-linalg.class" abstract="true"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="determinant" substitutionGroup="m:unary-linalg.class"/> |
||||
|
<xs:element name="transpose" substitutionGroup="m:unary-linalg.class"/> |
||||
|
<xs:element name="nary-linalg.class" abstract="true"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="selector" substitutionGroup="m:nary-linalg.class"/> |
||||
|
<xs:element name="binary-linalg.class" abstract="true"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="vectorproduct" substitutionGroup="m:binary-linalg.class"/> |
||||
|
<xs:element name="scalarproduct" substitutionGroup="m:binary-linalg.class"/> |
||||
|
<xs:element name="outerproduct" substitutionGroup="m:binary-linalg.class"/> |
||||
|
<xs:element name="constant-set.class" abstract="true"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="integers" substitutionGroup="m:constant-set.class"/> |
||||
|
<xs:element name="reals" substitutionGroup="m:constant-set.class"/> |
||||
|
<xs:element name="rationals" substitutionGroup="m:constant-set.class"/> |
||||
|
<xs:element name="naturalnumbers" substitutionGroup="m:constant-set.class"/> |
||||
|
<xs:element name="complexes" substitutionGroup="m:constant-set.class"/> |
||||
|
<xs:element name="primes" substitutionGroup="m:constant-set.class"/> |
||||
|
<xs:element name="emptyset" substitutionGroup="m:constant-set.class"/> |
||||
|
<xs:element name="constant-arith.class" abstract="true"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:DefEncAtt"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="exponentiale" substitutionGroup="m:constant-arith.class"/> |
||||
|
<xs:element name="imaginaryi" substitutionGroup="m:constant-arith.class"/> |
||||
|
<xs:element name="notanumber" substitutionGroup="m:constant-arith.class"/> |
||||
|
<xs:element name="true" substitutionGroup="m:constant-arith.class"/> |
||||
|
<xs:element name="false" substitutionGroup="m:constant-arith.class"/> |
||||
|
<xs:element name="pi" substitutionGroup="m:constant-arith.class"/> |
||||
|
<xs:element name="eulergamma" substitutionGroup="m:constant-arith.class"/> |
||||
|
<xs:element name="infinity" substitutionGroup="m:constant-arith.class"/> |
||||
|
</xs:schema> |
File diff suppressed because it is too large
@ -0,0 +1,186 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" |
||||
|
xmlns:m="http://www.w3.org/1998/Math/MathML" |
||||
|
elementFormDefault="qualified" |
||||
|
targetNamespace="http://www.w3.org/1998/Math/MathML"> |
||||
|
<xs:group name="ContExp"> |
||||
|
<xs:choice> |
||||
|
<!--Ambiguous content model altered (ContExp)--> |
||||
|
<xs:element ref="m:apply"/> |
||||
|
<xs:element ref="m:bind"/> |
||||
|
<xs:element ref="m:ci"/> |
||||
|
<xs:element ref="m:cn"/> |
||||
|
<xs:element ref="m:csymbol"/> |
||||
|
<xs:element ref="m:cbytes"/> |
||||
|
<xs:element ref="m:cerror"/> |
||||
|
<xs:element ref="m:cs"/> |
||||
|
<xs:element ref="m:share"/> |
||||
|
<xs:element ref="m:piecewise"/> |
||||
|
<xs:element ref="m:DeprecatedContExp"/> |
||||
|
<xs:element ref="m:interval.class"/> |
||||
|
<xs:element ref="m:unary-functional.class"/> |
||||
|
<xs:element ref="m:lambda.class"/> |
||||
|
<xs:element ref="m:nary-functional.class"/> |
||||
|
<xs:group ref="m:binary-arith.class"/> |
||||
|
<xs:group ref="m:unary-arith.class"/> |
||||
|
<xs:element ref="m:nary-minmax.class"/> |
||||
|
<xs:element ref="m:nary-arith.class"/> |
||||
|
<xs:element ref="m:nary-logical.class"/> |
||||
|
<xs:element ref="m:unary-logical.class"/> |
||||
|
<xs:element ref="m:binary-logical.class"/> |
||||
|
<xs:element ref="m:quantifier.class"/> |
||||
|
<xs:element ref="m:nary-reln.class"/> |
||||
|
<xs:element ref="m:binary-reln.class"/> |
||||
|
<xs:element ref="m:int.class"/> |
||||
|
<xs:element ref="m:Differential-Operator.class"/> |
||||
|
<xs:element ref="m:partialdiff.class"/> |
||||
|
<xs:element ref="m:unary-veccalc.class"/> |
||||
|
<xs:element ref="m:nary-setlist-constructor.class"/> |
||||
|
<xs:element ref="m:nary-set.class"/> |
||||
|
<xs:element ref="m:binary-set.class"/> |
||||
|
<xs:element ref="m:nary-set-reln.class"/> |
||||
|
<xs:element ref="m:unary-set.class"/> |
||||
|
<xs:element ref="m:sum.class"/> |
||||
|
<xs:element ref="m:product.class"/> |
||||
|
<xs:element ref="m:limit.class"/> |
||||
|
<xs:element ref="m:unary-elementary.class"/> |
||||
|
<xs:element ref="m:nary-stats.class"/> |
||||
|
<xs:element ref="m:nary-constructor.class"/> |
||||
|
<xs:element ref="m:unary-linalg.class"/> |
||||
|
<xs:element ref="m:nary-linalg.class"/> |
||||
|
<xs:element ref="m:binary-linalg.class"/> |
||||
|
<xs:element ref="m:constant-set.class"/> |
||||
|
<xs:element ref="m:constant-arith.class"/> |
||||
|
</xs:choice> |
||||
|
</xs:group> |
||||
|
<xs:element name="cn"> |
||||
|
<xs:complexType> |
||||
|
<xs:complexContent> |
||||
|
<xs:extension base="m:cn.content"> |
||||
|
<xs:attributeGroup ref="m:cn.attributes"/> |
||||
|
</xs:extension> |
||||
|
</xs:complexContent> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:group name="semantics-ci"> |
||||
|
<xs:sequence> |
||||
|
<xs:element name="semantics"> |
||||
|
<xs:complexType> |
||||
|
<xs:sequence> |
||||
|
<xs:choice> |
||||
|
<xs:element ref="m:ci"/> |
||||
|
<xs:group ref="m:semantics-ci"/> |
||||
|
</xs:choice> |
||||
|
<xs:choice minOccurs="0" maxOccurs="unbounded"> |
||||
|
<xs:element ref="m:annotation"/> |
||||
|
<xs:element ref="m:annotation-xml"/> |
||||
|
</xs:choice> |
||||
|
</xs:sequence> |
||||
|
<xs:attributeGroup ref="m:semantics.attributes"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
</xs:sequence> |
||||
|
</xs:group> |
||||
|
<xs:group name="semantics-contexp"> |
||||
|
<xs:sequence> |
||||
|
<xs:element name="semantics"> |
||||
|
<xs:complexType> |
||||
|
<xs:sequence> |
||||
|
<xs:group ref="m:ContExp"/> |
||||
|
<xs:choice minOccurs="0" maxOccurs="unbounded"> |
||||
|
<xs:element ref="m:annotation"/> |
||||
|
<xs:element ref="m:annotation-xml"/> |
||||
|
</xs:choice> |
||||
|
</xs:sequence> |
||||
|
<xs:attributeGroup ref="m:semantics.attributes"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
</xs:sequence> |
||||
|
</xs:group> |
||||
|
<xs:element name="ci"> |
||||
|
<xs:complexType> |
||||
|
<xs:complexContent> |
||||
|
<xs:extension base="m:ci.content"> |
||||
|
<xs:attributeGroup ref="m:ci.attributes"/> |
||||
|
</xs:extension> |
||||
|
</xs:complexContent> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="csymbol"> |
||||
|
<xs:complexType> |
||||
|
<xs:complexContent> |
||||
|
<xs:extension base="m:csymbol.content"> |
||||
|
<xs:attributeGroup ref="m:csymbol.attributes"/> |
||||
|
</xs:extension> |
||||
|
</xs:complexContent> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:simpleType name="SymbolName"> |
||||
|
<xs:restriction base="xs:NCName"/> |
||||
|
</xs:simpleType> |
||||
|
<xs:group name="BvarQ"> |
||||
|
<xs:sequence> |
||||
|
<xs:element minOccurs="0" maxOccurs="unbounded" ref="m:bvar"/> |
||||
|
</xs:sequence> |
||||
|
</xs:group> |
||||
|
<xs:element name="apply"> |
||||
|
<xs:complexType> |
||||
|
<xs:complexContent> |
||||
|
<xs:extension base="m:apply.content"> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
</xs:extension> |
||||
|
</xs:complexContent> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="bind"> |
||||
|
<xs:complexType> |
||||
|
<xs:complexContent> |
||||
|
<xs:extension base="m:bind.content"> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
</xs:extension> |
||||
|
</xs:complexContent> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="share"> |
||||
|
<xs:complexType> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
<xs:attributeGroup ref="m:src"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:element name="cerror"> |
||||
|
<xs:complexType> |
||||
|
<xs:sequence> |
||||
|
<xs:element ref="m:csymbol"/> |
||||
|
<xs:group minOccurs="0" maxOccurs="unbounded" ref="m:ContExp"/> |
||||
|
</xs:sequence> |
||||
|
<xs:attributeGroup ref="m:cerror.attributes"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:attributeGroup name="cerror.attributes"> |
||||
|
<xs:attributeGroup ref="m:CommonAtt"/> |
||||
|
</xs:attributeGroup> |
||||
|
<xs:element name="cbytes"> |
||||
|
<xs:complexType> |
||||
|
<xs:simpleContent> |
||||
|
<xs:extension base="m:base64"> |
||||
|
<xs:attributeGroup ref="m:cbytes.attributes"/> |
||||
|
</xs:extension> |
||||
|
</xs:simpleContent> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:simpleType name="base64"> |
||||
|
<xs:restriction base="xs:base64Binary"/> |
||||
|
</xs:simpleType> |
||||
|
<xs:element name="cs"> |
||||
|
<xs:complexType mixed="true"> |
||||
|
<xs:attributeGroup ref="m:cs.attributes"/> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
<xs:group name="MathExpression"> |
||||
|
<xs:choice> |
||||
|
<xs:group ref="m:ContExp"/> |
||||
|
<xs:element ref="m:PresentationExpression"/> |
||||
|
<xs:group ref="m:semantics"/> |
||||
|
</xs:choice> |
||||
|
</xs:group> |
||||
|
</xs:schema> |
@ -0,0 +1,9 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" |
||||
|
xmlns:m="http://www.w3.org/1998/Math/MathML" |
||||
|
elementFormDefault="qualified" |
||||
|
targetNamespace="http://www.w3.org/1998/Math/MathML"> |
||||
|
<xs:include schemaLocation="mathml3-content.xsd"/> |
||||
|
<xs:include schemaLocation="mathml3-presentation.xsd"/> |
||||
|
<xs:include schemaLocation="mathml3-common.xsd"/> |
||||
|
</xs:schema> |
@ -0,0 +1,64 @@ |
|||||
|
<template> |
||||
|
<w-dialog |
||||
|
ref="dialogRef" |
||||
|
:title="$t('engine.st.scenario.increasePercentDialog.title')" |
||||
|
width="400px" |
||||
|
:can-maximize="false" |
||||
|
:buttons="[ |
||||
|
{ |
||||
|
label: $t('confirm'), |
||||
|
click: () => { |
||||
|
emit('afterSetting', formRef.getData()); |
||||
|
}, |
||||
|
}, |
||||
|
]" |
||||
|
> |
||||
|
<w-form |
||||
|
ref="formRef" |
||||
|
:cols-num="1" |
||||
|
:fields="[ |
||||
|
{ |
||||
|
name: 'low', |
||||
|
label: $t('engine.st.scenario.percentileDialog.entity.low'), |
||||
|
type: 'number', |
||||
|
defaultValue: 100, |
||||
|
}, |
||||
|
{ |
||||
|
name: 'mid', |
||||
|
label: $t('engine.st.scenario.percentileDialog.entity.mid'), |
||||
|
type: 'number', |
||||
|
defaultValue: 100, |
||||
|
}, |
||||
|
{ |
||||
|
name: 'high', |
||||
|
label: $t('engine.st.scenario.percentileDialog.entity.high'), |
||||
|
type: 'number', |
||||
|
defaultValue: 100, |
||||
|
}, |
||||
|
]" |
||||
|
></w-form> |
||||
|
</w-dialog> |
||||
|
</template> |
||||
|
<script setup lang="ts"> |
||||
|
import { ref } from 'vue'; |
||||
|
|
||||
|
const emit = defineEmits<{ |
||||
|
(e: 'afterSetting', settings: object, dialogComponent: any): void; |
||||
|
}>(); |
||||
|
|
||||
|
const dialogRef = ref(); |
||||
|
const formRef = ref(); |
||||
|
|
||||
|
const open = () => { |
||||
|
dialogRef.value.show(); |
||||
|
}; |
||||
|
|
||||
|
const close = () => { |
||||
|
dialogRef.value.hide(); |
||||
|
}; |
||||
|
|
||||
|
defineExpose({ |
||||
|
open, |
||||
|
close, |
||||
|
}); |
||||
|
</script> |
@ -0,0 +1,53 @@ |
|||||
|
package io.sc.engine.st.support; |
||||
|
|
||||
|
import java.util.HashSet; |
||||
|
import java.util.Set; |
||||
|
|
||||
|
public class PercentWrapper { |
||||
|
private Set<String> ids =new HashSet<>(); |
||||
|
private Double low =100d; |
||||
|
private Double mid =100d; |
||||
|
private Double high =100d; |
||||
|
|
||||
|
public Set<String> getIds() { |
||||
|
return ids; |
||||
|
} |
||||
|
|
||||
|
public void setIds(Set<String> ids) { |
||||
|
this.ids = ids; |
||||
|
} |
||||
|
|
||||
|
public Double getLow() { |
||||
|
return low; |
||||
|
} |
||||
|
|
||||
|
public void setLow(Double low) { |
||||
|
this.low = low; |
||||
|
} |
||||
|
|
||||
|
public Double getMid() { |
||||
|
return mid; |
||||
|
} |
||||
|
|
||||
|
public void setMid(Double mid) { |
||||
|
this.mid = mid; |
||||
|
} |
||||
|
|
||||
|
public Double getHigh() { |
||||
|
return high; |
||||
|
} |
||||
|
|
||||
|
public void setHigh(Double high) { |
||||
|
this.high = high; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public String toString() { |
||||
|
return "PercentWrapper{" + |
||||
|
"ids=" + ids + |
||||
|
", low=" + low + |
||||
|
", mid=" + mid + |
||||
|
", high=" + high + |
||||
|
'}'; |
||||
|
} |
||||
|
} |
Binary file not shown.
@ -0,0 +1,40 @@ |
|||||
|
/* |
||||
|
Asana Math is released under the SIL Open Font License. See the files in this |
||||
|
directory for details. The font can be obtained from several TeX distributions |
||||
|
or package managers. The font does not seem to have a corresponding "non-MATH" |
||||
|
font, it is recommended to use a Palatino-like font for the surrounding text. |
||||
|
|
||||
|
The WOFF fonts have been obtained from |
||||
|
http://mirrors.ctan.org/fonts/ |
||||
|
*/ |
||||
|
|
||||
|
@namespace url('http://www.w3.org/1999/xhtml'); |
||||
|
@namespace m url('http://www.w3.org/1998/Math/MathML'); |
||||
|
|
||||
|
@font-face { |
||||
|
font-family: Asana Math; |
||||
|
src: local('Asana Math'), local('Asana-Math'), |
||||
|
url('Asana-Math.woff2'), url('Asana-Math.woff'); |
||||
|
} |
||||
|
|
||||
|
.htmlmathparagraph, m|mtext { |
||||
|
font-family: Asana Math; |
||||
|
} |
||||
|
m|math { |
||||
|
font-family: Asana Math; |
||||
|
} |
||||
|
|
||||
|
.oldstylenumbers { |
||||
|
font-variant-numeric: oldstyle-nums; /* Recommended syntax */ |
||||
|
font-feature-settings: 'onum'; /* OpenType feature syntax */ |
||||
|
-moz-font-feature-settings: 'onum'; /* Gecko <= 33 syntax */ |
||||
|
-webkit-font-feature-settings: 'onum'; /* Blink syntax */ |
||||
|
} |
||||
|
|
||||
|
@font-feature-values Asana Math { @stylistic { calligraphic: 1; } } |
||||
|
m|*.calligraphic { |
||||
|
font-variant-alternates: stylistic(calligraphic); /* Recommended syntax */ |
||||
|
font-feature-settings: 'salt'; /* OpenType feature syntax */ |
||||
|
-moz-font-feature-settings: 'salt'; /* Gecko <= 33 syntax */ |
||||
|
-webkit-font-feature-settings: 'salt'; /* Blink syntax */ |
||||
|
} |
@ -0,0 +1,56 @@ |
|||||
|
/* |
||||
|
The proprietary Cambria fonts are installed by default on Microsoft Windows 7 |
||||
|
and higher and are provided with some other Microsoft products such as Office. |
||||
|
Some Web services may also provide them as Web fonts. For details, see |
||||
|
http://www.microsoft.com/typography/fonts/family.aspx?FID=291 |
||||
|
http://www.microsoft.com/typography/fonts/family.aspx?FID=360 |
||||
|
*/ |
||||
|
|
||||
|
@namespace url('http://www.w3.org/1999/xhtml'); |
||||
|
@namespace m url('http://www.w3.org/1998/Math/MathML'); |
||||
|
|
||||
|
/* Uncomment and complete the URLs if you wish to use Web fonts */ |
||||
|
/* |
||||
|
@font-face { |
||||
|
font-family: Cambria; |
||||
|
src: local('Cambria'), url('...'); |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: Cambria; |
||||
|
src: local('Cambria Bold'), url('...'); |
||||
|
font-weight: bold; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: Cambria; |
||||
|
src: local('Cambria Italic'), url('...'); |
||||
|
font-style: italic; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: Cambria; |
||||
|
src: local('Cambria Bold Italic'), url('...'); |
||||
|
font-weight: bold; |
||||
|
font-style: italic; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: Cambria Math; |
||||
|
src: local('Cambria Math'), url('...'); |
||||
|
} |
||||
|
*/ |
||||
|
|
||||
|
.htmlmathparagraph, m|mtext { |
||||
|
font-family: Cambria; |
||||
|
} |
||||
|
m|math { |
||||
|
font-family: Cambria Math; |
||||
|
} |
||||
|
|
||||
|
.oldstylenumbers { |
||||
|
font-variant-numeric: oldstyle-nums; /* Recommended syntax */ |
||||
|
font-feature-settings: 'onum'; /* OpenType feature syntax */ |
||||
|
-moz-font-feature-settings: 'onum'; /* Gecko <= 33 syntax */ |
||||
|
-webkit-font-feature-settings: 'onum'; /* Blink syntax */ |
||||
|
} |
||||
|
|
||||
|
/* TODO: verify whether calligraphic letters are available in this font */ |
||||
|
m|*.calligraphic { |
||||
|
} |
@ -0,0 +1,51 @@ |
|||||
|
/* |
||||
|
Deja Vu is released under a Free License. See the files in this directory |
||||
|
for details. This fonts is available on most Linux distributions. |
||||
|
*/ |
||||
|
|
||||
|
@namespace url('http://www.w3.org/1999/xhtml'); |
||||
|
@namespace m url('http://www.w3.org/1998/Math/MathML'); |
||||
|
|
||||
|
@font-face { |
||||
|
font-family: DejaVu Math TeX Gyre; |
||||
|
src: url('DejaVuMathTeXGyre.woff2'), url('DejaVuMathTeXGyre.woff'); |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: DejaVu Serif; |
||||
|
src: url('DejaVuSerif.woff2'), url('DejaVuSerif.woff'); |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: DejaVu Serif; |
||||
|
src: url('DejaVuSerif-Bold.woff2'), url('DejaVuSerif-Bold.woff'); |
||||
|
font-weight: bold; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: DejaVu Serif; |
||||
|
src: url('DejaVuSerif-Italic.woff2'), url('DejaVuSerif-Italic.woff'); |
||||
|
font-style: italic; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: DejaVu Serif; |
||||
|
src: url('DejaVuSerif-BoldItalic.woff2'), |
||||
|
url('DejaVuSerif-BoldItalic.woff'); |
||||
|
font-weight: bold; |
||||
|
font-style: italic; |
||||
|
} |
||||
|
|
||||
|
.htmlmathparagraph, m|mtext { |
||||
|
font-family: DejaVu Serif; |
||||
|
} |
||||
|
m|math { |
||||
|
font-family: DejaVu Math TeX Gyre; |
||||
|
} |
||||
|
|
||||
|
.oldstylenumbers { |
||||
|
font-variant-numeric: oldstyle-nums; /* Recommended syntax */ |
||||
|
font-feature-settings: 'onum'; /* OpenType feature syntax */ |
||||
|
-moz-font-feature-settings: 'onum'; /* Gecko <= 33 syntax */ |
||||
|
-webkit-font-feature-settings: 'onum'; /* Blink syntax */ |
||||
|
} |
||||
|
|
||||
|
/* Calligraphic letters do not seem to be available */ |
||||
|
m|*.calligraphic { |
||||
|
} |
Binary file not shown.
@ -0,0 +1,21 @@ |
|||||
|
/* |
||||
|
The FiraMath font is released under the SIL Open Font License. See the files in |
||||
|
this directory for details. |
||||
|
*/ |
||||
|
|
||||
|
@namespace url('http://www.w3.org/1999/xhtml'); |
||||
|
@namespace m url('http://www.w3.org/1998/Math/MathML'); |
||||
|
|
||||
|
@font-face { |
||||
|
font-family: Fira Math; |
||||
|
src: local('Fira Math'), local('FiraMath-Regular'), |
||||
|
url('FiraMath-Regular.woff2'), url('FiraMath-Regular.woff'); |
||||
|
} |
||||
|
|
||||
|
.htmlmathparagraph, m|mtext { |
||||
|
/* TODO: use FiraGO instead? */ |
||||
|
font-family: Fira Math; |
||||
|
} |
||||
|
m|math { |
||||
|
font-family: Fira Math; |
||||
|
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,50 @@ |
|||||
|
/* |
||||
|
The GFS Neohellenic fonts are released under the SIL Open Font License. See the |
||||
|
files in this directory for details. |
||||
|
*/ |
||||
|
|
||||
|
@namespace url('http://www.w3.org/1999/xhtml'); |
||||
|
@namespace m url('http://www.w3.org/1998/Math/MathML'); |
||||
|
|
||||
|
|
||||
|
@font-face { |
||||
|
font-family: GFS Neohellenic; |
||||
|
src: local('GFSNeohellenic-Regular'), |
||||
|
url('GFSNeohellenic.woff2'), |
||||
|
url('GFSNeohellenic.woff'); |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: GFS Neohellenic; |
||||
|
src: local('GFSNeohellenic-Bold'), |
||||
|
url('GFSNeohellenic-Bold.woff2'), |
||||
|
url('GFSNeohellenic-Bold.woff'); |
||||
|
font-weight: bold; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: GFS Neohellenic; |
||||
|
src: local('GFSNeohellenic-Italic'), |
||||
|
url('GFSNeohellenic-It.woff2'), |
||||
|
url('GFSNeohellenic-It.woff'); |
||||
|
font-style: italic; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: GFS Neohellenic; |
||||
|
src: local('GFSNeohellenic-BoldItalic'), |
||||
|
url('GFSNeohellenic-BoldIt.woff2'), |
||||
|
url('GFSNeohellenic-BoldIt.woff'); |
||||
|
font-weight: bold; |
||||
|
font-style: italic; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: GFS Neohellenic Math; |
||||
|
src: local('GFSNeohellenicMath'), |
||||
|
url('GFSNeohellenicMath.woff2'), |
||||
|
url('GFSNeohellenicMath.woff'); |
||||
|
} |
||||
|
|
||||
|
.htmlmathparagraph, m|mtext { |
||||
|
font-family: GFS Neohellenic; |
||||
|
} |
||||
|
m|math { |
||||
|
font-family: GFS Neohellenic Math; |
||||
|
} |
@ -0,0 +1,47 @@ |
|||||
|
/* |
||||
|
GNU FreeSans is released under the GNU General Public License. See the files in |
||||
|
this directory for details. OpenType MATH support is only available in the |
||||
|
development version. |
||||
|
*/ |
||||
|
|
||||
|
@namespace url('http://www.w3.org/1999/xhtml'); |
||||
|
@namespace m url('http://www.w3.org/1998/Math/MathML'); |
||||
|
|
||||
|
@font-face { |
||||
|
font-family: FreeSans; |
||||
|
src: url('FreeSans.woff2'), url('FreeSans.woff'); |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: FreeSans; |
||||
|
src: url('FreeSansBold.woff2'), url('FreeSansBold.woff'); |
||||
|
font-weight: bold; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: FreeSans; |
||||
|
src: url('FreeSansOblique.woff2'), url('FreeSansOblique.woff'); |
||||
|
font-style: oblique; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: FreeSans; |
||||
|
src: url('FreeSansBoldOblique.woff2'), url('FreeSansBoldOblique.woff'); |
||||
|
font-weight: bold; |
||||
|
font-style: oblique; |
||||
|
} |
||||
|
|
||||
|
.htmlmathparagraph, m|mtext { |
||||
|
font-family: FreeSans; |
||||
|
} |
||||
|
m|math { |
||||
|
font-family: FreeSans; |
||||
|
} |
||||
|
|
||||
|
.oldstylenumbers { |
||||
|
font-variant-numeric: oldstyle-nums; /* Recommended syntax */ |
||||
|
font-feature-settings: 'onum'; /* OpenType feature syntax */ |
||||
|
-moz-font-feature-settings: 'onum'; /* Gecko <= 33 syntax */ |
||||
|
-webkit-font-feature-settings: 'onum'; /* Blink syntax */ |
||||
|
} |
||||
|
|
||||
|
/* Calligraphic letters do not seem to be available */ |
||||
|
m|*.calligraphic { |
||||
|
} |
@ -0,0 +1,47 @@ |
|||||
|
/* |
||||
|
GNU FreeSerif is released under the GNU General Public License. See the files in |
||||
|
this directory for details. OpenType MATH support is only available in the |
||||
|
development version. |
||||
|
*/ |
||||
|
|
||||
|
@namespace url('http://www.w3.org/1999/xhtml'); |
||||
|
@namespace m url('http://www.w3.org/1998/Math/MathML'); |
||||
|
|
||||
|
@font-face { |
||||
|
font-family: FreeSerif; |
||||
|
src: url('FreeSerif.woff2'), url('FreeSerif.woff'); |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: FreeSerif; |
||||
|
src: url('FreeSerifBold.woff2'), url('FreeSerifBold.woff'); |
||||
|
font-weight: bold; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: FreeSerif; |
||||
|
src: url('FreeSerifItalic.woff2'), url('FreeSerifItalic.woff'); |
||||
|
font-style: italic; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: FreeSerif; |
||||
|
src: url('FreeSerifBoldItalic.woff2'), url('FreeSerifBoldItalic.woff'); |
||||
|
font-weight: bold; |
||||
|
font-style: italic; |
||||
|
} |
||||
|
|
||||
|
.htmlmathparagraph, m|mtext { |
||||
|
font-family: FreeSerif; |
||||
|
} |
||||
|
m|math { |
||||
|
font-family: FreeSerif; |
||||
|
} |
||||
|
|
||||
|
.oldstylenumbers { |
||||
|
font-variant-numeric: oldstyle-nums; /* Recommended syntax */ |
||||
|
font-feature-settings: 'onum'; /* OpenType feature syntax */ |
||||
|
-moz-font-feature-settings: 'onum'; /* Gecko <= 33 syntax */ |
||||
|
-webkit-font-feature-settings: 'onum'; /* Blink syntax */ |
||||
|
} |
||||
|
|
||||
|
/* Calligraphic letters do not seem to be available */ |
||||
|
m|*.calligraphic { |
||||
|
} |
Binary file not shown.
Binary file not shown.
@ -0,0 +1,35 @@ |
|||||
|
/* |
||||
|
The Garamond fonts are released under the SIL Open Font License. See the files |
||||
|
in this directory for details. |
||||
|
*/ |
||||
|
|
||||
|
@namespace url('http://www.w3.org/1999/xhtml'); |
||||
|
@namespace m url('http://www.w3.org/1998/Math/MathML'); |
||||
|
|
||||
|
|
||||
|
@font-face { |
||||
|
font-family: EB Garamond; |
||||
|
src: local('EBGaramond12-Regular'), |
||||
|
url('EBGaramond12-Regular.woff2'), |
||||
|
url('EBGaramond12-Regular.woff'); |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: EB Garamond; |
||||
|
src: local('EBGaramond12-Italic'), |
||||
|
url('EBGaramond12-Italic.woff2'), |
||||
|
url('EBGaramond12-Italic.woff'); |
||||
|
font-style: italic; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: Garamond Math; |
||||
|
src: local('Garamond-Math'), |
||||
|
url('Garamond-Math.woff2'), |
||||
|
url('Garamond-Math.woff'); |
||||
|
} |
||||
|
|
||||
|
.htmlmathparagraph, m|mtext { |
||||
|
font-family: EB Garamond; |
||||
|
} |
||||
|
m|math { |
||||
|
font-family: Garamond Math; |
||||
|
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,53 @@ |
|||||
|
/* |
||||
|
The Latin Modern fonts are released under the GUST font license, which is |
||||
|
legally equivalent to the LaTeX Project Public License. See the files in this |
||||
|
directory for details. The fonts can be obtained from several TeX distributions |
||||
|
or package managers. |
||||
|
|
||||
|
The WOFF fonts have been obtained from |
||||
|
http://www.gust.org.pl/projects/e-foundry/ |
||||
|
*/ |
||||
|
|
||||
|
@namespace url('http://www.w3.org/1999/xhtml'); |
||||
|
@namespace m url('http://www.w3.org/1998/Math/MathML'); |
||||
|
|
||||
|
/* Latin Modern Roman has various sizes. We use the generic name |
||||
|
"Latin Modern Roman" for the local versions and "LMRoman12" for the Web font. |
||||
|
*/ |
||||
|
@font-face { |
||||
|
font-family: LMRoman12; |
||||
|
src: url('lmroman12-regular.woff2'), url('lmroman12-regular.woff'); |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: LMRoman12; |
||||
|
src: url('lmroman12-bold.woff2'), url('lmroman12-bold.woff'); |
||||
|
font-weight: bold; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: LMRoman12; |
||||
|
src: url('lmroman12-italic.woff2'), url('lmroman12-italic.woff'); |
||||
|
font-style: italic; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: Latin Modern Math; |
||||
|
src: local('Latin Modern Math'), local('LatinModernMath-Regular'), |
||||
|
url('latinmodern-math.woff2'), url('latinmodern-math.woff'); |
||||
|
} |
||||
|
|
||||
|
.htmlmathparagraph, m|mtext { |
||||
|
font-family: Latin Modern Roman, LMRoman12; |
||||
|
} |
||||
|
m|math { |
||||
|
font-family: Latin Modern Math; |
||||
|
} |
||||
|
|
||||
|
.oldstylenumbers { |
||||
|
font-variant-numeric: oldstyle-nums; /* Recommended syntax */ |
||||
|
font-feature-settings: 'onum'; /* OpenType feature syntax */ |
||||
|
-moz-font-feature-settings: 'onum'; /* Gecko <= 33 syntax */ |
||||
|
-webkit-font-feature-settings: 'onum'; /* Blink syntax */ |
||||
|
} |
||||
|
|
||||
|
/* Calligraphic letters do not seem to be available */ |
||||
|
m|*.calligraphic { |
||||
|
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,61 @@ |
|||||
|
/* |
||||
|
The Libertinus fonts are released under the SIL Open Font and GPL Licenses. See |
||||
|
the files in this directory for details. |
||||
|
*/ |
||||
|
|
||||
|
@namespace url('http://www.w3.org/1999/xhtml'); |
||||
|
@namespace m url('http://www.w3.org/1998/Math/MathML'); |
||||
|
|
||||
|
@font-face { |
||||
|
font-family: Libertinus Serif; |
||||
|
src: local('Libertinus Serif'), local('LibertinusSerif'), |
||||
|
url('libertinusserif-regular.woff2'), |
||||
|
url('libertinusserif-regular.woff'); |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: Libertinus Serif; |
||||
|
src: local('Libertinus Serif Bold'), local('LibertinusSerif-Bold'), |
||||
|
url('libertinusserif-bold.woff2'), |
||||
|
url('libertinusserif-bold.woff'); |
||||
|
font-weight: bold; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: Libertinus Serif; |
||||
|
src: local('Libertinus Serif Italic'), local('LibertinusSerif-Italic'), |
||||
|
url('libertinusserif-italic.woff2'), |
||||
|
url('libertinusserif-italic.woff'); |
||||
|
font-style: italic; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: Libertinus Serif; |
||||
|
src: local('Libertinus Serif Bold Italic'), |
||||
|
local('LibertinusSerif-BoldItalic'), |
||||
|
url('libertinusserif-bolditalic.woff2'), |
||||
|
url('libertinusserif-bolditalic.woff'); |
||||
|
font-weight: bold; |
||||
|
font-style: italic; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: Libertinus Math; |
||||
|
src: local('Libertinus Math'), local('LibertinusMath'), |
||||
|
url('libertinusmath-regular.woff2'), |
||||
|
url('libertinusmath-regular.woff'); |
||||
|
} |
||||
|
|
||||
|
.htmlmathparagraph, m|mtext { |
||||
|
font-family: Libertinus Serif; |
||||
|
} |
||||
|
m|math { |
||||
|
font-family: Libertinus Math; |
||||
|
} |
||||
|
|
||||
|
.oldstylenumbers { |
||||
|
font-variant-numeric: oldstyle-nums; /* Recommended syntax */ |
||||
|
font-feature-settings: 'onum'; /* OpenType feature syntax */ |
||||
|
-moz-font-feature-settings: 'onum'; /* Gecko <= 33 syntax */ |
||||
|
-webkit-font-feature-settings: 'onum'; /* Blink syntax */ |
||||
|
} |
||||
|
|
||||
|
/* No math script */ |
||||
|
m|*.calligraphic { |
||||
|
} |
@ -0,0 +1,58 @@ |
|||||
|
/* |
||||
|
The commercial Lucida Bright fonts can be obtained from |
||||
|
http://tug.org/store/lucida/opentype.html and some Web services might |
||||
|
provide them as Web fonts. See also |
||||
|
http://www.microsoft.com/typography/fonts/family.aspx?FID=186 |
||||
|
http://www.microsoft.com/typography/fonts/family.aspx?FID=217 |
||||
|
|
||||
|
Warning: The CSS rules below have not been tested. |
||||
|
*/ |
||||
|
|
||||
|
@namespace url('http://www.w3.org/1999/xhtml'); |
||||
|
@namespace m url('http://www.w3.org/1998/Math/MathML'); |
||||
|
|
||||
|
/* Uncomment and complete the URLs if you wish to use Web fonts */ |
||||
|
/* |
||||
|
@font-face { |
||||
|
font-family: Lucida Bright; |
||||
|
src: local('Lucida Bright'), url('...'); |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: Lucida Bright; |
||||
|
src: local('Lucida Bright Demibold'), url('...'); |
||||
|
font-weight: bolder; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: Lucida Bright; |
||||
|
src: local('Lucida Bright Italic'), url('...'); |
||||
|
font-style: italic; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: Lucida Bright; |
||||
|
src: local('Lucida Bright Demibold Italic'), url('...'); |
||||
|
font-weight: bolder; |
||||
|
font-style: italic; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: Lucida Bright Math; |
||||
|
src: local('Lucida Bright Math'), url('...'); |
||||
|
} |
||||
|
*/ |
||||
|
|
||||
|
.htmlmathparagraph, m|mtext { |
||||
|
font-family: Lucida Bright; |
||||
|
} |
||||
|
m|math { |
||||
|
font-family: Lucida Bright Math; |
||||
|
} |
||||
|
|
||||
|
.oldstylenumbers { |
||||
|
font-variant-numeric: oldstyle-nums; /* Recommended syntax */ |
||||
|
font-feature-settings: 'onum'; /* OpenType feature syntax */ |
||||
|
-moz-font-feature-settings: 'onum'; /* Gecko <= 33 syntax */ |
||||
|
-webkit-font-feature-settings: 'onum'; /* Blink syntax */ |
||||
|
} |
||||
|
|
||||
|
/* TODO: verify whether calligraphic letters are available in this font */ |
||||
|
m|*.calligraphic { |
||||
|
} |
@ -0,0 +1,37 @@ |
|||||
|
/* |
||||
|
The commercial Minion Math fonts and can be obtained from |
||||
|
http://www.typoma.com/en/fonts.html and some Web services might provide them as |
||||
|
Web fonts. |
||||
|
|
||||
|
Warning: The CSS rules below have not been tested. More rules should probably |
||||
|
be added to make this work correctly. |
||||
|
*/ |
||||
|
|
||||
|
@namespace url('http://www.w3.org/1999/xhtml'); |
||||
|
@namespace m url('http://www.w3.org/1998/Math/MathML'); |
||||
|
|
||||
|
/* Uncomment and complete the URLs if you wish to use Web fonts */ |
||||
|
/* |
||||
|
@font-face { |
||||
|
font-family: Minion Math; |
||||
|
src: local('Minion Math'), url('...'); |
||||
|
} |
||||
|
*/ |
||||
|
|
||||
|
.htmlmathparagraph, m|mtext { |
||||
|
font-family: Minion Math; |
||||
|
} |
||||
|
m|math { |
||||
|
font-family: Minion Math; |
||||
|
} |
||||
|
|
||||
|
.oldstylenumbers { |
||||
|
font-variant-numeric: oldstyle-nums; /* Recommended syntax */ |
||||
|
font-feature-settings: 'onum'; /* OpenType feature syntax */ |
||||
|
-moz-font-feature-settings: 'onum'; /* Gecko <= 33 syntax */ |
||||
|
-webkit-font-feature-settings: 'onum'; /* Blink syntax */ |
||||
|
} |
||||
|
|
||||
|
/* TODO: verify whether calligraphic letters are available in this font */ |
||||
|
m|*.calligraphic { |
||||
|
} |
@ -0,0 +1,34 @@ |
|||||
|
/* |
||||
|
Neo Euler is released under the SIL Open Font License. See the files in this |
||||
|
directory for details. The font is still in development. The font does not seem |
||||
|
to have a corresponding "non-MATH" font. |
||||
|
|
||||
|
The WOFF fonts have been obtained from |
||||
|
https://github.com/khaledhosny/euler-otf/ |
||||
|
*/ |
||||
|
|
||||
|
@namespace url('http://www.w3.org/1999/xhtml'); |
||||
|
@namespace m url('http://www.w3.org/1998/Math/MathML'); |
||||
|
|
||||
|
@font-face { |
||||
|
font-family: Neo Euler; |
||||
|
src: local('Neo Euler'), url('euler.woff2'), url('euler.woff'); |
||||
|
} |
||||
|
|
||||
|
.htmlmathparagraph, m|mtext { |
||||
|
font-family: Neo Euler; |
||||
|
} |
||||
|
m|math { |
||||
|
font-family: Neo Euler; |
||||
|
} |
||||
|
|
||||
|
.oldstylenumbers { |
||||
|
font-variant-numeric: oldstyle-nums; /* Recommended syntax */ |
||||
|
font-feature-settings: 'onum'; /* OpenType feature syntax */ |
||||
|
-moz-font-feature-settings: 'onum'; /* Gecko <= 33 syntax */ |
||||
|
-webkit-font-feature-settings: 'onum'; /* Blink syntax */ |
||||
|
} |
||||
|
|
||||
|
/* Calligraphic letters do not seem to be available */ |
||||
|
m|*.calligraphic { |
||||
|
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,69 @@ |
|||||
|
/* |
||||
|
The STIX fonts are released under the SIL Open Font License. See the files in |
||||
|
this directory for details. The font can be obtained from several TeX |
||||
|
distributions or package managers. |
||||
|
|
||||
|
The WOFF fonts have been obtained from |
||||
|
http://downloads.sourceforge.net/project/stixfonts/ |
||||
|
*/ |
||||
|
|
||||
|
@namespace url('http://www.w3.org/1999/xhtml'); |
||||
|
@namespace m url('http://www.w3.org/1998/Math/MathML'); |
||||
|
|
||||
|
|
||||
|
@font-face { |
||||
|
font-family: STIX Two Text; |
||||
|
src: local('STIXTwoText'), |
||||
|
url('STIXTwoText-Regular.woff2'), |
||||
|
url('STIXTwoText-Regular.woff'); |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: STIX Two Text; |
||||
|
src: local('STIXTwoText-Bold'), |
||||
|
url('STIXTwoText-Bold.woff2'), |
||||
|
url('STIXTwoText-Bold.woff'); |
||||
|
font-weight: bold; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: STIX Two Text; |
||||
|
src: local('STIXTwoText-Italic'), |
||||
|
url('STIXTwoText-Italic.woff2'), |
||||
|
url('STIXTwoText-Italic.woff'); |
||||
|
font-style: italic; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: STIX Two Text; |
||||
|
src: local('STIXTwoText-BoldItalic'), |
||||
|
url('STIXTwoText-BoldItalic.woff2'), |
||||
|
url('STIXTwoText-BoldItalic.woff'); |
||||
|
font-weight: bold; |
||||
|
font-style: italic; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: STIX Two Math; |
||||
|
src: local('STIXTwoMath-Regular'), |
||||
|
url('STIXTwoMath-Regular.woff2'), |
||||
|
url('STIXTwoMath-Regular.woff'); |
||||
|
} |
||||
|
|
||||
|
.htmlmathparagraph, m|mtext { |
||||
|
font-family: STIX Two Text; |
||||
|
} |
||||
|
m|math { |
||||
|
font-family: STIX Two Math; |
||||
|
} |
||||
|
|
||||
|
.oldstylenumbers { |
||||
|
font-variant-numeric: oldstyle-nums; /* Recommended syntax */ |
||||
|
font-feature-settings: 'onum'; /* OpenType feature syntax */ |
||||
|
-moz-font-feature-settings: 'onum'; /* Gecko <= 33 syntax */ |
||||
|
-webkit-font-feature-settings: 'onum'; /* Blink syntax */ |
||||
|
} |
||||
|
|
||||
|
@font-feature-values STIX Two Math { @styleset { calligraphic: 1; } } |
||||
|
m|*.calligraphic { |
||||
|
font-variant-alternates: styleset(calligraphic); /* Recommended syntax */ |
||||
|
font-feature-settings: 'ss01'; /* OpenType feature syntax */ |
||||
|
-moz-font-feature-settings: 'ss01'; /* Gecko <= 33 syntax */ |
||||
|
-webkit-font-feature-settings: 'ss01'; /* Blink syntax */ |
||||
|
} |
@ -0,0 +1,62 @@ |
|||||
|
/* |
||||
|
The TeX Gyre Bonum fonts are released under the GUST font license, which is |
||||
|
legally equivalent to the LaTeX Project Public License. See the files in this |
||||
|
directory for details. The fonts can be obtained from several TeX distributions |
||||
|
or package managers. |
||||
|
|
||||
|
The WOFF fonts have been obtained from |
||||
|
http://www.gust.org.pl/projects/e-foundry/ |
||||
|
*/ |
||||
|
|
||||
|
@namespace url('http://www.w3.org/1999/xhtml'); |
||||
|
@namespace m url('http://www.w3.org/1998/Math/MathML'); |
||||
|
|
||||
|
@font-face { |
||||
|
font-family: TeX Gyre Bonum; |
||||
|
src: local('TeXGyreBonum-Regular'), |
||||
|
url('texgyrebonum-regular.woff2'), url('texgyrebonum-regular.woff'); |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: TeX Gyre Bonum; |
||||
|
src: local('TeXGyreBonum-Bold'), |
||||
|
url('texgyrebonum-bold.woff2'), url('texgyrebonum-bold.woff'); |
||||
|
font-weight: bold; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: TeX Gyre Bonum; |
||||
|
src: local('TeXGyreBonum-Italic'), |
||||
|
url('texgyrebonum-italic.woff2'), url('texgyrebonum-italic.woff'); |
||||
|
font-style: italic; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: TeX Gyre Bonum; |
||||
|
src: local('TeXGyreBonum-BoldItalic'), |
||||
|
url('texgyrebonum-bolditalic.woff2'), |
||||
|
url('texgyrebonum-bolditalic.woff'); |
||||
|
font-weight: bold; |
||||
|
font-style: italic; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: TeX Gyre Bonum Math; |
||||
|
src: local('TeX Gyre Bonum Math'), local('TeXGyreBonumMath-Regular'), |
||||
|
url('texgyrebonum-math.woff2'), |
||||
|
url('texgyrebonum-math.woff'); |
||||
|
} |
||||
|
|
||||
|
.htmlmathparagraph, m|mtext { |
||||
|
font-family: TeX Gyre Bonum; |
||||
|
} |
||||
|
m|math { |
||||
|
font-family: TeX Gyre Bonum Math; |
||||
|
} |
||||
|
|
||||
|
.oldstylenumbers { |
||||
|
font-variant-numeric: oldstyle-nums; /* Recommended syntax */ |
||||
|
font-feature-settings: 'onum'; /* OpenType feature syntax */ |
||||
|
-moz-font-feature-settings: 'onum'; /* Gecko <= 33 syntax */ |
||||
|
-webkit-font-feature-settings: 'onum'; /* Blink syntax */ |
||||
|
} |
||||
|
|
||||
|
/* Calligraphic letters do not seem to be available */ |
||||
|
m|*.calligraphic { |
||||
|
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,63 @@ |
|||||
|
/* |
||||
|
The TeX Gyre Pagella fonts are released under the GUST font license, which is |
||||
|
legally equivalent to the LaTeX Project Public License. See the files in this |
||||
|
directory for details. The fonts can be obtained from several TeX distributions |
||||
|
or package managers. |
||||
|
|
||||
|
The WOFF fonts have been obtained from |
||||
|
http://www.gust.org.pl/projects/e-foundry/ |
||||
|
*/ |
||||
|
|
||||
|
@namespace url('http://www.w3.org/1999/xhtml'); |
||||
|
@namespace m url('http://www.w3.org/1998/Math/MathML'); |
||||
|
|
||||
|
@font-face { |
||||
|
font-family: TeX Gyre Pagella; |
||||
|
src: local('TeXGyrePagella-Regular'), |
||||
|
url('texgyrepagella-regular.woff2'), |
||||
|
url('texgyrepagella-regular.woff'); |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: TeX Gyre Pagella; |
||||
|
src: local('TeXGyrePagella-Bold'), |
||||
|
url('texgyrepagella-bold.woff2'), url('texgyrepagella-bold.woff'); |
||||
|
font-weight: bold; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: TeX Gyre Pagella; |
||||
|
src: local('TeXGyrePagella-Italic'), |
||||
|
url('texgyrepagella-italic.woff2'), url('texgyrepagella-italic.woff'); |
||||
|
font-style: italic; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: TeX Gyre Pagella; |
||||
|
src: local('TeXGyrePagella-BoldItalic'), |
||||
|
url('texgyrepagella-bolditalic.woff2'), |
||||
|
url('texgyrepagella-bolditalic.woff'); |
||||
|
font-weight: bold; |
||||
|
font-style: italic; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: TeX Gyre Pagella Math; |
||||
|
src: local('TeX Gyre Pagella Math'), local('TeXGyrePagellaMath-Regular'), |
||||
|
url('texgyrepagella-math.woff2'), |
||||
|
url('texgyrepagella-math.woff'); |
||||
|
} |
||||
|
|
||||
|
.htmlmathparagraph, m|mtext { |
||||
|
font-family: TeX Gyre Pagella; |
||||
|
} |
||||
|
m|math { |
||||
|
font-family: TeX Gyre Pagella Math; |
||||
|
} |
||||
|
|
||||
|
.oldstylenumbers { |
||||
|
font-variant-numeric: oldstyle-nums; /* Recommended syntax */ |
||||
|
font-feature-settings: 'onum'; /* OpenType feature syntax */ |
||||
|
-moz-font-feature-settings: 'onum'; /* Gecko <= 33 syntax */ |
||||
|
-webkit-font-feature-settings: 'onum'; /* Blink syntax */ |
||||
|
} |
||||
|
|
||||
|
/* Calligraphic letters do not seem to be available */ |
||||
|
m|*.calligraphic { |
||||
|
} |
Binary file not shown.
@ -0,0 +1,61 @@ |
|||||
|
/* |
||||
|
The TeX Gyre Schola fonts are released under the GUST font license, which is |
||||
|
legally equivalent to the LaTeX Project Public License. See the files in this |
||||
|
directory for details. The fonts can be obtained from several TeX distributions |
||||
|
or package managers. |
||||
|
|
||||
|
The WOFF fonts have been obtained from |
||||
|
http://www.gust.org.pl/projects/e-foundry/ |
||||
|
*/ |
||||
|
|
||||
|
@namespace url('http://www.w3.org/1999/xhtml'); |
||||
|
@namespace m url('http://www.w3.org/1998/Math/MathML'); |
||||
|
|
||||
|
@font-face { |
||||
|
font-family: TeX Gyre Schola; |
||||
|
src: local('TeXGyreSchola-Regular'), |
||||
|
url('texgyreschola-regular.woff2'), url('texgyreschola-regular.woff'); |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: TeX Gyre Schola; |
||||
|
src: local('TeXGyreSchola-Bold'), |
||||
|
url('texgyreschola-bold.woff2'), url('texgyreschola-bold.woff'); |
||||
|
font-weight: bold; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: TeX Gyre Schola; |
||||
|
src: local('TeXGyreSchola-Italic'), |
||||
|
url('texgyreschola-italic.woff2'), url('texgyreschola-italic.woff'); |
||||
|
font-style: italic; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: TeX Gyre Schola; |
||||
|
src: local('TeXGyreSchola-BoldItalic'), |
||||
|
url('texgyreschola-bolditalic.woff2'), |
||||
|
url('texgyreschola-bolditalic.woff'); |
||||
|
font-weight: bold; |
||||
|
font-style: italic; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: TeX Gyre Schola Math; |
||||
|
src: local('TeX Gyre Schola Math'), local('TeXGyreScholaMath-Regular'), |
||||
|
url('texgyreschola-math.woff2'), url('texgyreschola-math.woff'); |
||||
|
} |
||||
|
|
||||
|
.htmlmathparagraph, m|mtext { |
||||
|
font-family: TeX Gyre Schola; |
||||
|
} |
||||
|
m|math { |
||||
|
font-family: TeX Gyre Schola Math; |
||||
|
} |
||||
|
|
||||
|
.oldstylenumbers { |
||||
|
font-variant-numeric: oldstyle-nums; /* Recommended syntax */ |
||||
|
font-feature-settings: 'onum'; /* OpenType feature syntax */ |
||||
|
-moz-font-feature-settings: 'onum'; /* Gecko <= 33 syntax */ |
||||
|
-webkit-font-feature-settings: 'onum'; /* Blink syntax */ |
||||
|
} |
||||
|
|
||||
|
/* Calligraphic letters do not seem to be available */ |
||||
|
m|*.calligraphic { |
||||
|
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,60 @@ |
|||||
|
/* |
||||
|
The TeX Gyre Termes fonts are released under the GUST font license, which is |
||||
|
legally equivalent to the LaTeX Project Public License. See the files in this |
||||
|
directory for details. The fonts can be obtained from several TeX distributions |
||||
|
or package managers. |
||||
|
|
||||
|
The WOFF fonts have been obtained from |
||||
|
http://www.gust.org.pl/projects/e-foundry/ |
||||
|
*/ |
||||
|
|
||||
|
@namespace url('http://www.w3.org/1999/xhtml'); |
||||
|
@namespace m url('http://www.w3.org/1998/Math/MathML'); |
||||
|
|
||||
|
@font-face { |
||||
|
font-family: TeX Gyre Termes; |
||||
|
src: local('TeXGyreTermes-Regular'), |
||||
|
url('texgyretermes-regular.woff2'), url('texgyretermes-regular.woff'); |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: TeX Gyre Termes; |
||||
|
src: local('TeXGyreTermes-Bold'), |
||||
|
url('texgyretermes-bold.woff2'), url('texgyretermes-bold.woff'); |
||||
|
font-weight: bold; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: TeX Gyre Termes; |
||||
|
src: local('TeXGyreTermes-Italic'), |
||||
|
url('texgyretermes-italic.woff2'), url('texgyretermes-italic.woff'); |
||||
|
font-style: italic; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: TeX Gyre Termes; |
||||
|
src: local('TeXGyreTermes-BoldItalic'), |
||||
|
url('texgyretermes-bolditalic.woff2'), url('texgyretermes-bolditalic.woff'); |
||||
|
font-weight: bold; |
||||
|
font-style: italic; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: TeX Gyre Termes Math; |
||||
|
src: local('TeX Gyre Termes Math'), local('TeXGyreTermesMath-Regular'), |
||||
|
url('texgyretermes-math.woff2'), url('texgyretermes-math.woff'); |
||||
|
} |
||||
|
|
||||
|
.htmlmathparagraph, m|mtext { |
||||
|
font-family: TeX Gyre Termes; |
||||
|
} |
||||
|
m|math { |
||||
|
font-family: TeX Gyre Termes Math; |
||||
|
} |
||||
|
|
||||
|
.oldstylenumbers { |
||||
|
font-variant-numeric: oldstyle-nums; /* Recommended syntax */ |
||||
|
font-feature-settings: 'onum'; /* OpenType feature syntax */ |
||||
|
-moz-font-feature-settings: 'onum'; /* Gecko <= 33 syntax */ |
||||
|
-webkit-font-feature-settings: 'onum'; /* Blink syntax */ |
||||
|
} |
||||
|
|
||||
|
/* Calligraphic letters do not seem to be available */ |
||||
|
m|*.calligraphic { |
||||
|
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,69 @@ |
|||||
|
/* |
||||
|
XITS is released under the SIL Open Font License. See the files in this |
||||
|
directory for details. The font can be obtained from several TeX distributions |
||||
|
or package managers. |
||||
|
|
||||
|
The WOFF fonts have been obtained from |
||||
|
http://mirrors.ctan.org/fonts/ |
||||
|
*/ |
||||
|
|
||||
|
@namespace url('http://www.w3.org/1999/xhtml'); |
||||
|
@namespace m url('http://www.w3.org/1998/Math/MathML'); |
||||
|
|
||||
|
@font-face { |
||||
|
font-family: XITS; |
||||
|
src: local('XITS'), |
||||
|
url('XITS-Regular.woff2'), url('XITS-Regular.woff'); |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: XITS; |
||||
|
src: local('XITS Bold'), local('XITS-Bold'), |
||||
|
url('XITS-Bold.woff2'), url('XITS-Bold.woff'); |
||||
|
font-weight: bold; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: XITS; |
||||
|
src: local('XITS Italic'), local('XITS-Italic'), |
||||
|
url('XITS-Italic.woff2'), url('XITS-Italic.woff'); |
||||
|
font-style: italic; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: XITS; |
||||
|
src: local('XITS Bold Italic'), local('XITS-BoldItalic'), |
||||
|
url('XITS-BoldItalic.woff2'), url('XITS-BoldItalic.woff'); |
||||
|
font-weight: bold; |
||||
|
font-style: italic; |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: XITS Math; |
||||
|
src: local('XITS Math'), local('XITSMath-Regular'), |
||||
|
url('XITSMath-Regular.woff2'), url('XITSMath-Regular.woff'); |
||||
|
} |
||||
|
@font-face { |
||||
|
font-family: XITS Math; |
||||
|
src: local('XITS Math Bold'), local('XITSMath-Bold'), |
||||
|
url('XITSMath-Bold.woff2'), url('XITSMathBold.woff'); |
||||
|
font-weight: bold; |
||||
|
} |
||||
|
|
||||
|
.htmlmathparagraph, m|mtext { |
||||
|
font-family: XITS; |
||||
|
} |
||||
|
m|math { |
||||
|
font-family: XITS Math; |
||||
|
} |
||||
|
|
||||
|
.oldstylenumbers { |
||||
|
font-variant-numeric: oldstyle-nums; /* Recommended syntax */ |
||||
|
font-feature-settings: 'onum'; /* OpenType feature syntax */ |
||||
|
-moz-font-feature-settings: 'onum'; /* Gecko <= 33 syntax */ |
||||
|
-webkit-font-feature-settings: 'onum'; /* Blink syntax */ |
||||
|
} |
||||
|
|
||||
|
@font-feature-values XITS Math { @styleset { calligraphic: 1; } } |
||||
|
m|*.calligraphic { |
||||
|
font-variant-alternates: styleset(calligraphic); /* Recommended syntax */ |
||||
|
font-feature-settings: 'ss01'; /* OpenType feature syntax */ |
||||
|
-moz-font-feature-settings: 'ss01'; /* Gecko <= 33 syntax */ |
||||
|
-webkit-font-feature-settings: 'ss01'; /* Blink syntax */ |
||||
|
} |
@ -1,4 +1,4 @@ |
|||||
{ |
{ |
||||
"menu.testcase": "测试用例", |
"menu.testcase": "测试用例", |
||||
"menu.testcase.formElements": "表单控件" |
"menu.testcase.formElements": "表单控件", |
||||
} |
} |
||||
|
@ -0,0 +1,188 @@ |
|||||
|
<template> |
||||
|
<div class="border border-gray-200" style="min-width: 600px"> |
||||
|
<div v-if="!readOnly" class="row q-gutter-sm py-1 border-b border-b-gray-200"> |
||||
|
<Toolbar :container="instance" :zoom="zoom"></Toolbar> |
||||
|
</div> |
||||
|
<div style="overflow: auto"> |
||||
|
<math |
||||
|
ref="mathEditorRef" |
||||
|
display="inline" |
||||
|
:class="`p-2 select-none text-${zoom}`" |
||||
|
@contextmenu="contextmenu" |
||||
|
@mouseover="mouseover" |
||||
|
@mouseout="mouseout" |
||||
|
@dblclick="dblclick" |
||||
|
@dragover="dragover" |
||||
|
@dragleave="dragleave" |
||||
|
@drop="drop" |
||||
|
> |
||||
|
</math> |
||||
|
<ContextMenu ref="contextMenuRef"></ContextMenu> |
||||
|
<Editor ref="editorRef"></Editor> |
||||
|
</div> |
||||
|
</div> |
||||
|
</template> |
||||
|
<script setup lang="ts"> |
||||
|
import { onMounted, ref } from 'vue'; |
||||
|
import { dom } from 'quasar'; |
||||
|
import { ZoomLevels } from '@/platform/components/expression/utils/ZoomLevels'; |
||||
|
import { VueTools } from '@/platform'; |
||||
|
import Toolbar from './toolbar/Toolbar.vue'; |
||||
|
import ContextMenu from './context-menu/ContextMenu.vue'; |
||||
|
import Editor from './editor/Editor.vue'; |
||||
|
import { getCurrentInstance } from 'vue'; |
||||
|
import { onUpdated } from 'vue'; |
||||
|
|
||||
|
const props = defineProps({ |
||||
|
modelValue: { type: String, default: '' }, |
||||
|
zoom: { type: String, default: ZoomLevels.defaultName }, |
||||
|
readOnly: { type: Boolean, default: false }, |
||||
|
required: { type: Boolean, default: false }, |
||||
|
restore: { type: Boolean, default: false }, |
||||
|
form: { type: Object, default: undefined }, |
||||
|
onChange: { |
||||
|
type: Function, |
||||
|
default: () => {}, |
||||
|
}, |
||||
|
showIf: { |
||||
|
type: Function, |
||||
|
default: () => { |
||||
|
return true; |
||||
|
}, |
||||
|
}, |
||||
|
requiredIf: { |
||||
|
type: Function, |
||||
|
default: undefined, |
||||
|
}, |
||||
|
readOnlyIf: { |
||||
|
type: Function, |
||||
|
default: () => { |
||||
|
return false; |
||||
|
}, |
||||
|
}, |
||||
|
disableIf: { |
||||
|
type: Function, |
||||
|
default: () => { |
||||
|
return false; |
||||
|
}, |
||||
|
}, |
||||
|
}); |
||||
|
|
||||
|
const emit = defineEmits(['update:modelValue', 'change']); |
||||
|
|
||||
|
const { height } = dom; |
||||
|
const mathEditorRef = ref(); |
||||
|
const contextMenuRef = ref(); |
||||
|
const editorRef = ref(); |
||||
|
const highLightBgColor = 'bg-orange-500'; |
||||
|
|
||||
|
const contextmenu = (event) => { |
||||
|
event.preventDefault(); |
||||
|
contextMenuRef.value.show(event.srcElement); |
||||
|
}; |
||||
|
|
||||
|
const dblclick = (event) => { |
||||
|
editorRef.value.show(event.srcElement); |
||||
|
}; |
||||
|
|
||||
|
const mouseover = (event) => { |
||||
|
event.preventDefault(); |
||||
|
const tagName = event.target.tagName.toLowerCase(); |
||||
|
if (tagName === 'math' || tagName === 'mspace') { |
||||
|
return; |
||||
|
} |
||||
|
event.target.className = highLightBgColor; |
||||
|
}; |
||||
|
|
||||
|
const mouseout = (event) => { |
||||
|
event.preventDefault(); |
||||
|
const tagName = event.target.tagName.toLowerCase(); |
||||
|
if (tagName === 'math' || tagName === 'mspace') { |
||||
|
return; |
||||
|
} |
||||
|
event.target.className = ''; |
||||
|
}; |
||||
|
|
||||
|
const dragover = (event) => { |
||||
|
event.preventDefault(); |
||||
|
const tagName = event.target.tagName.toLowerCase(); |
||||
|
if (tagName === 'mspace') { |
||||
|
event.target.className = 'bg-red-900'; |
||||
|
} |
||||
|
}; |
||||
|
|
||||
|
const dragleave = (event) => { |
||||
|
event.preventDefault(); |
||||
|
const tagName = event.target.tagName.toLowerCase(); |
||||
|
if (tagName === 'math') { |
||||
|
return; |
||||
|
} |
||||
|
event.target.className = ''; |
||||
|
}; |
||||
|
|
||||
|
const drop = (event) => { |
||||
|
event.preventDefault(); |
||||
|
const tagName = event.target.tagName.toLowerCase(); |
||||
|
if (tagName === 'math') { |
||||
|
return; |
||||
|
} |
||||
|
event.target.outerHTML = event.target.outerHTML + event.dataTransfer.getData('math'); |
||||
|
event.target.className = ''; |
||||
|
setTimeout(refresh, 100); |
||||
|
}; |
||||
|
|
||||
|
const init = () => { |
||||
|
if (props.modelValue) { |
||||
|
mathEditorRef.value.innerHTML = '<mspace postion="left"></mspace>' + props.modelValue + '<mspace postion="right"></mspace>'; |
||||
|
} else { |
||||
|
mathEditorRef.value.innerHTML = '<mspace postion="left"></mspace>'; |
||||
|
} |
||||
|
refresh(); |
||||
|
}; |
||||
|
|
||||
|
const refresh = () => { |
||||
|
setTimeout(() => { |
||||
|
//zoomLevel = Tools.isEmpty(zoomLevel) ? ZoomLevelMap[props.zoom] : zoomLevel; |
||||
|
//const w = zoomLevel > 10 ? 10 : zoomLevel > 8 ? 8 : zoomLevel > 6 ? 6 : zoomLevel > 4 ? 4 : 2; |
||||
|
const w = 2; |
||||
|
const mspaces = mathEditorRef.value.getElementsByTagName('mspace'); |
||||
|
for (const mspace of mspaces) { |
||||
|
let h = 30; |
||||
|
let element = null; |
||||
|
const position = mspace.getAttribute('position'); |
||||
|
if (position === 'left') { |
||||
|
element = mspace.nextElementSibling; |
||||
|
} else if (position === 'right') { |
||||
|
element = mspace.previousElementSibling; |
||||
|
} |
||||
|
if (element) { |
||||
|
h = window.Math.ceil(height(element)); |
||||
|
} |
||||
|
h = h > 20 ? h : 20; |
||||
|
mspace.className = highLightBgColor; |
||||
|
mspace.setAttribute('width', w + 'px'); |
||||
|
mspace.setAttribute('height', h + 'px'); |
||||
|
} |
||||
|
}, 0); |
||||
|
}; |
||||
|
|
||||
|
const getEditor = () => { |
||||
|
return mathEditorRef.value; |
||||
|
}; |
||||
|
|
||||
|
onMounted(() => { |
||||
|
init(); |
||||
|
}); |
||||
|
|
||||
|
onUpdated(() => { |
||||
|
init(); |
||||
|
}); |
||||
|
|
||||
|
defineExpose({ |
||||
|
refresh, |
||||
|
getEditor, |
||||
|
}); |
||||
|
|
||||
|
const instance = getCurrentInstance(); |
||||
|
VueTools.expose2Instance(instance); |
||||
|
</script> |
@ -0,0 +1,33 @@ |
|||||
|
<template> |
||||
|
<w-dialog ref="dialogRef" :title="$t('xml')" width="800px" :can-maximize="false"> |
||||
|
<div class="py-1"></div> |
||||
|
<w-code-mirror v-model="xml" outlined :rows="20" lang="xml" /> |
||||
|
</w-dialog> |
||||
|
</template> |
||||
|
<script setup lang="ts"> |
||||
|
import { ref } from 'vue'; |
||||
|
|
||||
|
const dialogRef = ref(); |
||||
|
const xml = ref(); |
||||
|
const open = (container) => { |
||||
|
const parser = new DOMParser(); |
||||
|
const mathElementClone = parser.parseFromString(container.getMathElement().outerHTML, 'text/xml'); |
||||
|
const elements = mathElementClone.querySelectorAll('*'); |
||||
|
for (const element of elements) { |
||||
|
const names = element.getAttributeNames(); |
||||
|
for (const name of names) { |
||||
|
if (name !== 'position') { |
||||
|
element.removeAttribute(name); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
const serializer = new XMLSerializer(); |
||||
|
let content = serializer.serializeToString(mathElementClone); |
||||
|
xml.value = content; |
||||
|
dialogRef.value.show(); |
||||
|
}; |
||||
|
|
||||
|
defineExpose({ |
||||
|
open, |
||||
|
}); |
||||
|
</script> |
@ -0,0 +1,66 @@ |
|||||
|
<template> |
||||
|
<Teleport to="body"> |
||||
|
<div ref="editorRef" class="absolute bg-white z-max text-center border-dashed text-nowrap" contenteditable="true" @blur="blur" @keydown="keydown"></div> |
||||
|
</Teleport> |
||||
|
</template> |
||||
|
<script setup lang="ts"> |
||||
|
import { ref } from 'vue'; |
||||
|
import { dom } from 'quasar'; |
||||
|
|
||||
|
const { offset, height, width } = dom; |
||||
|
const editorRef = ref(); |
||||
|
let targetElement = null; |
||||
|
|
||||
|
const show = (element) => { |
||||
|
targetElement = element; |
||||
|
editorRef.value.innerHTML = element.innerHTML; |
||||
|
editorRef.value.style.display = ''; |
||||
|
const position = offset(element); |
||||
|
const minWidth = 50; |
||||
|
const minHeight = 20; |
||||
|
let w = width(element); |
||||
|
let h = height(element); |
||||
|
let l = position.left; |
||||
|
let t = position.top; |
||||
|
|
||||
|
if (w < minWidth) { |
||||
|
l = l - (minWidth - w) / 2; |
||||
|
w = minWidth; |
||||
|
} |
||||
|
if (h < minHeight) { |
||||
|
t = t - (minHeight - h) / 2; |
||||
|
h = minHeight; |
||||
|
} |
||||
|
editorRef.value.style.left = l + 'px'; |
||||
|
editorRef.value.style.top = t + 'px'; |
||||
|
editorRef.value.style.minWidth = w + 'px'; |
||||
|
editorRef.value.style.height = h + 'px'; |
||||
|
editorRef.value.style.lineHeight = h + 'px'; |
||||
|
editorRef.value.style.fontSize = h - 5 + 'px'; |
||||
|
//将光标定位到结尾 |
||||
|
editorRef.value.focus(); |
||||
|
const range = document.createRange(); |
||||
|
range.setStart(editorRef.value, 1); |
||||
|
const selection = getSelection(); |
||||
|
selection.removeAllRanges(); |
||||
|
selection.addRange(range); |
||||
|
}; |
||||
|
|
||||
|
const blur = () => { |
||||
|
targetElement.innerHTML = editorRef.value.innerHTML; |
||||
|
editorRef.value.style.display = 'none'; |
||||
|
}; |
||||
|
|
||||
|
const keydown = (event) => { |
||||
|
if (event.key === 'Enter') { |
||||
|
event.preventDefault(); |
||||
|
event.stopPropagation(); |
||||
|
targetElement.innerHTML = editorRef.value.innerHTML; |
||||
|
editorRef.value.style.display = 'none'; |
||||
|
} |
||||
|
}; |
||||
|
|
||||
|
defineExpose({ |
||||
|
show, |
||||
|
}); |
||||
|
</script> |
@ -0,0 +1,139 @@ |
|||||
|
<template> |
||||
|
<q-toolbar style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px"> |
||||
|
<!-- 操作 --> |
||||
|
<Xml :container="container"></Xml> |
||||
|
<Clean :container="container"></Clean> |
||||
|
<q-separator vertical /> |
||||
|
<ZoomIn :container="container" :zoom="zoomName" @zoomed="zoomed"></ZoomIn> |
||||
|
<ZoomOut :container="container" :zoom="zoomName" @zoomed="zoomed"></ZoomOut> |
||||
|
<q-separator vertical /> |
||||
|
<Undo :container="container"></Undo> |
||||
|
<Redo :container="container"></Redo> |
||||
|
<q-separator vertical /> |
||||
|
|
||||
|
<!-- 基本 --> |
||||
|
<Variable :container="container"></Variable> |
||||
|
<Addition :container="container"></Addition> |
||||
|
<Subtraction :container="container"></Subtraction> |
||||
|
<Multiply :container="container"></Multiply> |
||||
|
<Division :container="container"></Division> |
||||
|
<LeftParenthesis :container="container"></LeftParenthesis> |
||||
|
<RightParenthesis :container="container"></RightParenthesis> |
||||
|
<q-separator vertical /> |
||||
|
|
||||
|
<!-- 逻辑 --> |
||||
|
<And :container="container"></And> |
||||
|
<Or :container="container"></Or> |
||||
|
<Not :container="container"></Not> |
||||
|
<q-separator vertical /> |
||||
|
|
||||
|
<!-- 比较 --> |
||||
|
<Equals :container="container"></Equals> |
||||
|
<Gt :container="container"></Gt> |
||||
|
<Ge :container="container"></Ge> |
||||
|
<Lt :container="container"></Lt> |
||||
|
<Le :container="container"></Le> |
||||
|
<q-separator vertical /> |
||||
|
|
||||
|
<!-- 数学 --> |
||||
|
<q-btn :label="$t('math.toolbar.math')" stretch flat dense padding="0px 10px" icon-right="arrow_drop_down"> |
||||
|
<q-menu> |
||||
|
<q-list> |
||||
|
<q-item clickable> |
||||
|
<q-item-section><Power :container="container"></Power></q-item-section> |
||||
|
</q-item> |
||||
|
<q-item clickable> |
||||
|
<q-item-section><Extracting :container="container"></Extracting></q-item-section> |
||||
|
</q-item> |
||||
|
<q-item clickable> |
||||
|
<q-item-section><Logarithm :container="container"></Logarithm></q-item-section> |
||||
|
</q-item> |
||||
|
<q-item clickable> |
||||
|
<q-item-section><Pi :container="container"></Pi></q-item-section> |
||||
|
</q-item> |
||||
|
<q-item clickable> |
||||
|
<q-item-section><E :container="container"></E></q-item-section> |
||||
|
</q-item> |
||||
|
</q-list> |
||||
|
</q-menu> |
||||
|
</q-btn> |
||||
|
|
||||
|
<!-- 函数 --> |
||||
|
<q-btn :label="$t('math.toolbar.functions')" stretch flat dense padding="0px 10px" icon-right="arrow_drop_down"> |
||||
|
<q-menu> |
||||
|
<q-list> |
||||
|
<!-- 数值处理函数 --> |
||||
|
<Number></Number> |
||||
|
<q-separator inset spaced /> |
||||
|
<!-- 字符串处理函数 --> |
||||
|
<StringVue></StringVue> |
||||
|
<q-separator inset spaced /> |
||||
|
<!-- 日期处理函数 --> |
||||
|
<Date></Date> |
||||
|
<q-separator inset spaced /> |
||||
|
<!-- 三角函数 --> |
||||
|
<Trigonometric></Trigonometric> |
||||
|
<q-separator inset spaced /> |
||||
|
<!-- 概率函数 --> |
||||
|
<Probability></Probability> |
||||
|
<q-separator inset spaced /> |
||||
|
<!-- 格式化函数 --> |
||||
|
<Formater></Formater> |
||||
|
</q-list> |
||||
|
</q-menu> |
||||
|
</q-btn> |
||||
|
</q-toolbar> |
||||
|
</template> |
||||
|
<script setup lang="ts"> |
||||
|
import { ref } from 'vue'; |
||||
|
import { ZoomLevels } from '@/platform/components/expression/utils/ZoomLevels'; |
||||
|
|
||||
|
import Xml from './actions/Xml.vue'; |
||||
|
import Clean from './actions/Clean.vue'; |
||||
|
import ZoomIn from './actions/ZoomIn.vue'; |
||||
|
import ZoomOut from './actions/ZoomOut.vue'; |
||||
|
import Undo from './actions/Undo.vue'; |
||||
|
import Redo from './actions/Redo.vue'; |
||||
|
|
||||
|
import Variable from './base/Variable.vue'; |
||||
|
import Addition from './base/Addition.vue'; |
||||
|
import Subtraction from './base/Subtraction.vue'; |
||||
|
import Multiply from './base/Multiply.vue'; |
||||
|
import Division from './base/Division.vue'; |
||||
|
import LeftParenthesis from './base/LeftParenthesis.vue'; |
||||
|
import RightParenthesis from './base/RightParenthesis.vue'; |
||||
|
|
||||
|
import And from './base/And.vue'; |
||||
|
import Or from './base/Or.vue'; |
||||
|
import Not from './base/Not.vue'; |
||||
|
|
||||
|
import Equals from './base/Equals.vue'; |
||||
|
import Gt from './base/Gt.vue'; |
||||
|
import Lt from './base/Lt.vue'; |
||||
|
import Ge from './base/Ge.vue'; |
||||
|
import Le from './base/Le.vue'; |
||||
|
|
||||
|
import E from './math/E.vue'; |
||||
|
import Extracting from './math/Extracting.vue'; |
||||
|
import Logarithm from './math/Logarithm.vue'; |
||||
|
import Pi from './math/Pi.vue'; |
||||
|
import Power from './math/Power.vue'; |
||||
|
|
||||
|
import Number from './functions/Number.vue'; |
||||
|
import StringVue from './functions/String.vue'; |
||||
|
import Date from './functions/Date.vue'; |
||||
|
import Trigonometric from './functions/Trigonometric.vue'; |
||||
|
import Probability from './functions/Probability.vue'; |
||||
|
import Formater from './functions/Formater.vue'; |
||||
|
|
||||
|
const props = defineProps({ |
||||
|
container: { type: Object, default: undefined }, |
||||
|
zoom: { type: String, default: ZoomLevels.defaultName }, |
||||
|
}); |
||||
|
|
||||
|
const zoomName = ref(props.zoom); |
||||
|
|
||||
|
const zoomed = (name) => { |
||||
|
zoomName.value = name; |
||||
|
}; |
||||
|
</script> |
@ -0,0 +1,10 @@ |
|||||
|
<template> |
||||
|
<q-btn :title="$t('math.toolbar.actions.redo')" stretch flat no-caps icon="redo" padding="4px 10px" @click="redo"></q-btn> |
||||
|
</template> |
||||
|
<script setup lang="ts"> |
||||
|
const props = defineProps({ |
||||
|
container: { type: Object, default: undefined }, |
||||
|
}); |
||||
|
|
||||
|
const redo = () => {}; |
||||
|
</script> |
@ -0,0 +1,10 @@ |
|||||
|
<template> |
||||
|
<q-btn :title="$t('math.toolbar.actions.undo')" stretch flat no-caps icon="undo" padding="4px 10px" @click="undo"></q-btn> |
||||
|
</template> |
||||
|
<script setup lang="ts"> |
||||
|
const props = defineProps({ |
||||
|
container: { type: Object, default: undefined }, |
||||
|
}); |
||||
|
|
||||
|
const undo = () => {}; |
||||
|
</script> |
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue