mml 2.3.0 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitmodules +9 -0
- data/.rubocop.yml +4 -0
- data/.rubocop_todo.yml +30 -21
- data/Gemfile +0 -2
- data/README.adoc +176 -47
- data/Rakefile +16 -1
- data/lib/mml/base/content/annotation.rb +30 -0
- data/lib/mml/base/content/annotation_xml.rb +31 -0
- data/lib/mml/base/content/apply.rb +27 -0
- data/lib/mml/base/content/arith.rb +243 -0
- data/lib/mml/base/content/bind.rb +27 -0
- data/lib/mml/base/content/bvar.rb +20 -0
- data/lib/mml/base/content/calculus.rb +103 -0
- data/lib/mml/base/content/cbytes.rb +24 -0
- data/lib/mml/base/content/cerror.rb +24 -0
- data/lib/mml/base/content/ci.rb +77 -0
- data/lib/mml/base/content/cn.rb +33 -0
- data/lib/mml/base/content/condition.rb +20 -0
- data/lib/mml/base/content/constants.rb +173 -0
- data/lib/mml/base/content/cs.rb +22 -0
- data/lib/mml/base/content/csymbol.rb +79 -0
- data/lib/mml/base/content/declare.rb +34 -0
- data/lib/mml/base/content/degree.rb +20 -0
- data/lib/mml/base/content/elementary_functions.rb +309 -0
- data/lib/mml/base/content/fn.rb +25 -0
- data/lib/mml/base/content/functions.rb +85 -0
- data/lib/mml/base/content/interval.rb +24 -0
- data/lib/mml/base/content/inverse.rb +25 -0
- data/lib/mml/base/content/lambda.rb +20 -0
- data/lib/mml/base/content/linear_algebra.rb +122 -0
- data/lib/mml/base/content/logic.rb +93 -0
- data/lib/mml/base/content/otherwise.rb +20 -0
- data/lib/mml/base/content/piece.rb +20 -0
- data/lib/mml/base/content/piecewise.rb +20 -0
- data/lib/mml/base/content/relations.rb +113 -0
- data/lib/mml/base/content/reln.rb +19 -0
- data/lib/mml/base/content/semantics.rb +27 -0
- data/lib/mml/base/content/sep.rb +19 -0
- data/lib/mml/base/content/sets.rb +163 -0
- data/lib/mml/base/content/share.rb +24 -0
- data/lib/mml/base/content/statistics.rb +95 -0
- data/lib/mml/base/content/vector_calculus.rb +63 -0
- data/lib/mml/base/content_loader.rb +195 -0
- data/lib/mml/base/maction.rb +1 -0
- data/lib/mml/base/math.rb +41 -0
- data/lib/mml/base/menclose.rb +1 -1
- data/lib/mml/base/mfenced.rb +2 -2
- data/lib/mml/base/mfrac.rb +2 -0
- data/lib/mml/base/mglyph.rb +2 -0
- data/lib/mml/base/mi.rb +7 -2
- data/lib/mml/base/mlabeledtr.rb +0 -4
- data/lib/mml/base/mn.rb +5 -2
- data/lib/mml/base/mo.rb +0 -2
- data/lib/mml/base/mrow.rb +0 -2
- data/lib/mml/base/ms.rb +2 -4
- data/lib/mml/base/mscarries.rb +1 -1
- data/lib/mml/base/mstyle.rb +2 -6
- data/lib/mml/base/mtable.rb +8 -0
- data/lib/mml/base/mtd.rb +6 -0
- data/lib/mml/base/mtext.rb +0 -2
- data/lib/mml/base/semantics.rb +4 -2
- data/lib/mml/base/universal_presentation_attributes.rb +42 -0
- data/lib/mml/base/v3_common.rb +16 -0
- data/lib/mml/base/v3_presentation_attributes.rb +15 -0
- data/lib/mml/base/v4_attributes.rb +4 -18
- data/lib/mml/base.rb +10 -0
- data/lib/mml/common_elements.rb +334 -0
- data/lib/mml/context_configuration.rb +29 -0
- data/lib/mml/v2/annotation.rb +9 -0
- data/lib/mml/v2/annotation_xml.rb +9 -0
- data/lib/mml/v2/apply.rb +9 -0
- data/lib/mml/v2/arith.rb +93 -0
- data/lib/mml/v2/bind.rb +9 -0
- data/lib/mml/v2/bvar.rb +9 -0
- data/lib/mml/v2/calculus.rb +33 -0
- data/lib/mml/v2/ci.rb +9 -0
- data/lib/mml/v2/cn.rb +9 -0
- data/lib/mml/v2/common_elements.rb +34 -0
- data/lib/mml/v2/condition.rb +9 -0
- data/lib/mml/v2/configuration.rb +13 -0
- data/lib/mml/v2/constants.rb +65 -0
- data/lib/mml/v2/csymbol.rb +9 -0
- data/lib/mml/v2/degree.rb +9 -0
- data/lib/mml/v2/elementary_functions.rb +121 -0
- data/lib/mml/v2/fn.rb +9 -0
- data/lib/mml/v2/functions.rb +29 -0
- data/lib/mml/v2/interval.rb +9 -0
- data/lib/mml/v2/inverse.rb +9 -0
- data/lib/mml/v2/lambda.rb +9 -0
- data/lib/mml/v2/linear_algebra.rb +41 -0
- data/lib/mml/v2/logic.rb +33 -0
- data/lib/mml/v2/maction.rb +9 -0
- data/lib/mml/v2/maligngroup.rb +9 -0
- data/lib/mml/v2/malignmark.rb +9 -0
- data/lib/mml/v2/math.rb +11 -0
- data/lib/mml/v2/menclose.rb +9 -0
- data/lib/mml/v2/merror.rb +9 -0
- data/lib/mml/v2/mfenced.rb +9 -0
- data/lib/mml/v2/mfrac.rb +9 -0
- data/lib/mml/v2/mfraction.rb +9 -0
- data/lib/mml/v2/mglyph.rb +9 -0
- data/lib/mml/v2/mi.rb +9 -0
- data/lib/mml/v2/mlabeledtr.rb +9 -0
- data/lib/mml/v2/mlongdiv.rb +9 -0
- data/lib/mml/v2/mmultiscripts.rb +9 -0
- data/lib/mml/v2/mn.rb +9 -0
- data/lib/mml/v2/mo.rb +10 -0
- data/lib/mml/v2/mover.rb +9 -0
- data/lib/mml/v2/mpadded.rb +9 -0
- data/lib/mml/v2/mphantom.rb +9 -0
- data/lib/mml/v2/mprescripts.rb +9 -0
- data/lib/mml/v2/mroot.rb +9 -0
- data/lib/mml/v2/mrow.rb +9 -0
- data/lib/mml/v2/ms.rb +9 -0
- data/lib/mml/v2/mscarries.rb +9 -0
- data/lib/mml/v2/mscarry.rb +9 -0
- data/lib/mml/v2/msgroup.rb +9 -0
- data/lib/mml/v2/msline.rb +9 -0
- data/lib/mml/v2/mspace.rb +9 -0
- data/lib/mml/v2/msqrt.rb +9 -0
- data/lib/mml/v2/msrow.rb +9 -0
- data/lib/mml/v2/mstack.rb +9 -0
- data/lib/mml/v2/mstyle.rb +10 -0
- data/lib/mml/v2/msub.rb +9 -0
- data/lib/mml/v2/msubsup.rb +9 -0
- data/lib/mml/v2/msup.rb +9 -0
- data/lib/mml/v2/mtable.rb +9 -0
- data/lib/mml/v2/mtd.rb +9 -0
- data/lib/mml/v2/mtext.rb +9 -0
- data/lib/mml/v2/mtr.rb +9 -0
- data/lib/mml/v2/munder.rb +9 -0
- data/lib/mml/v2/munderover.rb +9 -0
- data/lib/mml/v2/namespace.rb +7 -0
- data/lib/mml/v2/none.rb +9 -0
- data/lib/mml/v2/otherwise.rb +9 -0
- data/lib/mml/v2/piece.rb +9 -0
- data/lib/mml/v2/piecewise.rb +9 -0
- data/lib/mml/v2/relations.rb +41 -0
- data/lib/mml/v2/reln.rb +13 -0
- data/lib/mml/v2/semantics.rb +9 -0
- data/lib/mml/v2/sep.rb +9 -0
- data/lib/mml/v2/sets.rb +57 -0
- data/lib/mml/v2/statistics.rb +33 -0
- data/lib/mml/v2/vector_calculus.rb +21 -0
- data/lib/mml/v2.rb +311 -0
- data/lib/mml/v3/annotation.rb +10 -0
- data/lib/mml/v3/annotation_xml.rb +10 -0
- data/lib/mml/v3/apply.rb +10 -0
- data/lib/mml/v3/arith.rb +115 -0
- data/lib/mml/v3/bind.rb +10 -0
- data/lib/mml/v3/calculus.rb +40 -0
- data/lib/mml/v3/cbytes.rb +10 -0
- data/lib/mml/v3/cerror.rb +10 -0
- data/lib/mml/v3/ci.rb +10 -0
- data/lib/mml/v3/cn.rb +10 -0
- data/lib/mml/v3/common_elements.rb +34 -0
- data/lib/mml/v3/constants.rb +80 -0
- data/lib/mml/v3/constructs.rb +55 -0
- data/lib/mml/v3/cs.rb +10 -0
- data/lib/mml/v3/csymbol.rb +10 -0
- data/lib/mml/v3/deprecated_content.rb +29 -0
- data/lib/mml/v3/elementary_functions.rb +145 -0
- data/lib/mml/v3/functions.rb +35 -0
- data/lib/mml/v3/linear_algebra.rb +50 -0
- data/lib/mml/v3/logic.rb +40 -0
- data/lib/mml/v3/maction.rb +1 -1
- data/lib/mml/v3/math.rb +7 -1
- data/lib/mml/v3/mi.rb +1 -0
- data/lib/mml/v3/mn.rb +1 -0
- data/lib/mml/v3/mo.rb +1 -0
- data/lib/mml/v3/mrow.rb +1 -0
- data/lib/mml/v3/ms.rb +1 -0
- data/lib/mml/v3/mstyle.rb +1 -0
- data/lib/mml/v3/mtext.rb +1 -0
- data/lib/mml/v3/relations.rb +50 -0
- data/lib/mml/v3/sets.rb +70 -0
- data/lib/mml/v3/statistics.rb +40 -0
- data/lib/mml/v3/vector_calculus.rb +25 -0
- data/lib/mml/v3.rb +25 -0
- data/lib/mml/v4/a.rb +0 -1
- data/lib/mml/v4/annotation.rb +10 -0
- data/lib/mml/v4/annotation_xml.rb +14 -0
- data/lib/mml/v4/apply.rb +9 -0
- data/lib/mml/v4/arith.rb +93 -0
- data/lib/mml/v4/calculus.rb +25 -0
- data/lib/mml/v4/cbytes.rb +9 -0
- data/lib/mml/v4/cerror.rb +9 -0
- data/lib/mml/v4/ci.rb +9 -0
- data/lib/mml/v4/cn.rb +9 -0
- data/lib/mml/v4/common_elements.rb +33 -0
- data/lib/mml/v4/constants.rb +65 -0
- data/lib/mml/v4/constructs.rb +49 -0
- data/lib/mml/v4/cs.rb +9 -0
- data/lib/mml/v4/csymbol.rb +9 -0
- data/lib/mml/v4/deprecated_content.rb +25 -0
- data/lib/mml/v4/elementary_functions.rb +118 -0
- data/lib/mml/v4/factorof.rb +9 -0
- data/lib/mml/v4/functions.rb +30 -0
- data/lib/mml/v4/limit.rb +9 -0
- data/lib/mml/v4/linear_algebra.rb +41 -0
- data/lib/mml/v4/logic.rb +33 -0
- data/lib/mml/v4/maction.rb +1 -2
- data/lib/mml/v4/maligngroup.rb +0 -1
- data/lib/mml/v4/malignmark.rb +0 -1
- data/lib/mml/v4/math.rb +1 -1
- data/lib/mml/v4/menclose.rb +0 -1
- data/lib/mml/v4/merror.rb +0 -1
- data/lib/mml/v4/mfenced.rb +0 -1
- data/lib/mml/v4/mfrac.rb +0 -1
- data/lib/mml/v4/mfraction.rb +0 -1
- data/lib/mml/v4/mglyph.rb +0 -1
- data/lib/mml/v4/mi.rb +1 -1
- data/lib/mml/v4/mlabeledtr.rb +0 -1
- data/lib/mml/v4/mlongdiv.rb +0 -1
- data/lib/mml/v4/mmultiscripts.rb +0 -1
- data/lib/mml/v4/mn.rb +1 -1
- data/lib/mml/v4/mo.rb +1 -1
- data/lib/mml/v4/mover.rb +0 -1
- data/lib/mml/v4/mpadded.rb +0 -1
- data/lib/mml/v4/mphantom.rb +0 -1
- data/lib/mml/v4/mprescripts.rb +0 -1
- data/lib/mml/v4/mroot.rb +0 -1
- data/lib/mml/v4/mrow.rb +1 -1
- data/lib/mml/v4/ms.rb +1 -1
- data/lib/mml/v4/mscarries.rb +0 -1
- data/lib/mml/v4/mscarry.rb +0 -1
- data/lib/mml/v4/msgroup.rb +0 -1
- data/lib/mml/v4/msline.rb +0 -1
- data/lib/mml/v4/mspace.rb +0 -1
- data/lib/mml/v4/msqrt.rb +0 -1
- data/lib/mml/v4/msrow.rb +0 -1
- data/lib/mml/v4/mstack.rb +0 -1
- data/lib/mml/v4/mstyle.rb +1 -1
- data/lib/mml/v4/msub.rb +0 -1
- data/lib/mml/v4/msubsup.rb +0 -1
- data/lib/mml/v4/msup.rb +0 -1
- data/lib/mml/v4/mtable.rb +0 -1
- data/lib/mml/v4/mtd.rb +0 -1
- data/lib/mml/v4/mtext.rb +1 -1
- data/lib/mml/v4/mtr.rb +0 -1
- data/lib/mml/v4/munder.rb +0 -1
- data/lib/mml/v4/munderover.rb +0 -1
- data/lib/mml/v4/none.rb +0 -1
- data/lib/mml/v4/relations.rb +37 -0
- data/lib/mml/v4/semantics.rb +0 -1
- data/lib/mml/v4/sets.rb +57 -0
- data/lib/mml/v4/statistics.rb +33 -0
- data/lib/mml/v4/tendsto.rb +9 -0
- data/lib/mml/v4/vector_calculus.rb +21 -0
- data/lib/mml/v4.rb +421 -44
- data/lib/mml/version.rb +1 -1
- data/lib/mml/versioned_parser.rb +1 -1
- data/lib/mml.rb +3 -1
- data/reference-docs/mathml-source/pubtext/mathmlspec.dtd +150 -0
- data/reference-docs/mathml-source/pubtext/xmlspec.dtd +2649 -0
- data/reference-docs/mathml-source/readme.txt +40 -0
- data/reference-docs/mathml-source/run +296 -0
- data/reference-docs/mathml-source/style/html/html2xhtml.xsl +216 -0
- data/reference-docs/mathml-source/style/html/images.xsl +98 -0
- data/reference-docs/mathml-source/style/html/mml6.xsl +1156 -0
- data/reference-docs/mathml-source/style/html/mmldiff.xsl +566 -0
- data/reference-docs/mathml-source/style/html/mmlspec.xsl +2531 -0
- data/reference-docs/mathml-source/style/html/slices-common.xsl +312 -0
- data/reference-docs/mathml-source/style/html/slices.xsl +48 -0
- data/reference-docs/mathml-source/style/html/xmlspec.xsl +2542 -0
- data/reference-docs/mathml-source/style/pdf/mathmlspec.xsl +2510 -0
- data/reference-docs/mathml-source/xml/changes.xml +773 -0
- data/reference-docs/mathml-source/xml/character-set.xml +1011 -0
- data/reference-docs/mathml-source/xml/content-element-def.xml +6143 -0
- data/reference-docs/mathml-source/xml/content-markup.xml +8178 -0
- data/reference-docs/mathml-source/xml/contributors.xml +425 -0
- data/reference-docs/mathml-source/xml/dom-bindings.xml +20 -0
- data/reference-docs/mathml-source/xml/dom-intro.xml +114 -0
- data/reference-docs/mathml-source/xml/fundamentals.xml +1646 -0
- data/reference-docs/mathml-source/xml/glossary.xml +519 -0
- data/reference-docs/mathml-source/xml/interface.xml +1096 -0
- data/reference-docs/mathml-source/xml/introduction.xml +724 -0
- data/reference-docs/mathml-source/xml/mathml-css-sample.xml +304 -0
- data/reference-docs/mathml-source/xml/mathml-dom.xml +3813 -0
- data/reference-docs/mathml-source/xml/mathml-spec.xml +356 -0
- data/reference-docs/mathml-source/xml/mixing.xml +982 -0
- data/reference-docs/mathml-source/xml/operator-dict.xml +551 -0
- data/reference-docs/mathml-source/xml/parsing.xml +2565 -0
- data/reference-docs/mathml-source/xml/presentation-markup.xml +6834 -0
- data/reference-docs/mathml-source/xml/references.xml +323 -0
- data/reference-docs/mathml-source/xml/validation-grammar.xml +877 -0
- data/schemas/README.adoc +15 -0
- data/schemas/mathml2/CVS/Entries +4 -0
- data/schemas/mathml2/CVS/Repository +1 -0
- data/schemas/mathml2/CVS/Root +1 -0
- data/schemas/mathml2/common/CVS/Entries +4 -0
- data/schemas/mathml2/common/CVS/Repository +1 -0
- data/schemas/mathml2/common/CVS/Root +1 -0
- data/schemas/mathml2/common/common-attribs.xsd +41 -0
- data/schemas/mathml2/common/math.xsd +126 -0
- data/schemas/mathml2/common/xlink-href.xsd +20 -0
- data/schemas/mathml2/content/CVS/Entries +16 -0
- data/schemas/mathml2/content/CVS/Repository +1 -0
- data/schemas/mathml2/content/CVS/Root +1 -0
- data/schemas/mathml2/content/arith.xsd +90 -0
- data/schemas/mathml2/content/calculus.xsd +146 -0
- data/schemas/mathml2/content/common-attrib.xsd +30 -0
- data/schemas/mathml2/content/constants.xsd +83 -0
- data/schemas/mathml2/content/constructs.xsd +260 -0
- data/schemas/mathml2/content/elementary-functions.xsd +117 -0
- data/schemas/mathml2/content/functions.xsd +73 -0
- data/schemas/mathml2/content/linear-algebra.xsd +173 -0
- data/schemas/mathml2/content/logic.xsd +53 -0
- data/schemas/mathml2/content/relations.xsd +55 -0
- data/schemas/mathml2/content/semantics.xsd +85 -0
- data/schemas/mathml2/content/sets.xsd +236 -0
- data/schemas/mathml2/content/statistics.xsd +136 -0
- data/schemas/mathml2/content/tokens.xsd +120 -0
- data/schemas/mathml2/content/tokens.xsd.~1.3.~ +119 -0
- data/schemas/mathml2/content/vector-calculus.xsd +88 -0
- data/schemas/mathml2/mathml2.xsd +59 -0
- data/schemas/mathml2/presentation/CVS/Entries +12 -0
- data/schemas/mathml2/presentation/CVS/Repository +1 -0
- data/schemas/mathml2/presentation/CVS/Root +1 -0
- data/schemas/mathml2/presentation/action.xsd +44 -0
- data/schemas/mathml2/presentation/characters.xsd +37 -0
- data/schemas/mathml2/presentation/common-attribs.xsd +113 -0
- data/schemas/mathml2/presentation/common-types.xsd +103 -0
- data/schemas/mathml2/presentation/error.xsd +40 -0
- data/schemas/mathml2/presentation/layout.xsd +195 -0
- data/schemas/mathml2/presentation/scripts.xsd +186 -0
- data/schemas/mathml2/presentation/space.xsd +52 -0
- data/schemas/mathml2/presentation/style.xsd +69 -0
- data/schemas/mathml2/presentation/table.xsd +216 -0
- data/schemas/mathml2/presentation/tokens.xsd +124 -0
- data/schemas/mathml3/mathml3-common.xsd +99 -0
- data/schemas/mathml3/mathml3-content.xsd +684 -0
- data/schemas/mathml3/mathml3-presentation.xsd +2151 -0
- data/schemas/mathml3/mathml3-strict-content.xsd +186 -0
- data/schemas/mathml3/mathml3.xsd +9 -0
- metadata +250 -2
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
<inform-div1 id="stylesheet" role="appendixg" ><head>Sample CSS Style Sheet for MathML</head>
|
|
2
|
+
<!-- $Id: mathml-css-sample.xml,v 1.10 2002/11/29 10:47:43 davidc Exp $-->
|
|
3
|
+
|
|
4
|
+
<p>The Cascading Style Sheet sample given here is <emph>not normative</emph>. It is provided
|
|
5
|
+
as a guide to illustrate the sort of CSS style sheet rules which a MathML renderer should
|
|
6
|
+
include in its default style sheet in order to comply with both the CSS and MathML
|
|
7
|
+
specifications. In particular, there is a need to provide rules to prevent the descent of
|
|
8
|
+
CSS font rules into MathML expressions embedded in ambient text, and to provide support for
|
|
9
|
+
the <att>mathfamily</att>, <att>mathslant</att>, <att>mathweight</att>, <att>mathsize</att>,
|
|
10
|
+
<att>mathcolor</att> and <att>mathbackground</att> attributes.
|
|
11
|
+
</p>
|
|
12
|
+
<p>We expect that implementation experience will allow us to provide a more authoritative
|
|
13
|
+
default MathML style sheet in the future. In the interim, it is hoped that this illustrative
|
|
14
|
+
sample will be helpful.</p>
|
|
15
|
+
<p>
|
|
16
|
+
<eg>
|
|
17
|
+
<![CDATA[
|
|
18
|
+
|
|
19
|
+
math, math[mode="inline"] {
|
|
20
|
+
display: inline;
|
|
21
|
+
font-family: CMSY10, CMEX10, Symbol, Times;
|
|
22
|
+
font-style: normal;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
math[mode="display"] {
|
|
26
|
+
display: block;
|
|
27
|
+
text-align: center;
|
|
28
|
+
font-family: CMSY10, CMEX10, Symbol, Times;
|
|
29
|
+
font-style: normal;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@media screen { /* hide from old browsers */
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
/* Rules dealing with the various values of the "mathvariant" attribute: */
|
|
36
|
+
|
|
37
|
+
math *.[mathvariant="normal"] {
|
|
38
|
+
font-family: "Times New Roman", Courier, Garamond, serif;
|
|
39
|
+
font-weight: normal;
|
|
40
|
+
font-style: normal;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
math *.[mathvariant="bold"] {
|
|
44
|
+
font-family: "Times New Roman", Courier, Garamond, serif;
|
|
45
|
+
font-weight: bold;
|
|
46
|
+
font-style: normal;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
math *.[mathvariant="italic"] {
|
|
50
|
+
font-family: "Times New Roman", Courier, Garamond, serif;
|
|
51
|
+
font-weight: normal;
|
|
52
|
+
font-style: italic;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
math *.[mathvariant="bold-italic"] {
|
|
56
|
+
font-family: "Times New Roman", Courier, Garamond, serif;
|
|
57
|
+
font-weight: bold;
|
|
58
|
+
font-style: italic;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
math *.[mathvariant="double-struck"] {
|
|
62
|
+
font-family: msbm;
|
|
63
|
+
font-weight: normal;
|
|
64
|
+
font-style: normal;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
math *.[mathvariant="script"] {
|
|
68
|
+
font-family: eusb;
|
|
69
|
+
font-weight: normal;
|
|
70
|
+
font-style: normal;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
math *.[mathvariant="bold-script"] {
|
|
74
|
+
font-family: eusb;
|
|
75
|
+
font-weight: bold;
|
|
76
|
+
font-style: normal;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
math *.[mathvariant="fraktur"] {
|
|
80
|
+
font-family: eufm;
|
|
81
|
+
font-weight: normal;
|
|
82
|
+
font-style: normal;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
math *.[mathvariant="bold-fraktur"] {
|
|
86
|
+
font-family: eufm;
|
|
87
|
+
font-weight: bold;
|
|
88
|
+
font-style: italic;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
math *.[mathvariant="sans-serif"] {
|
|
92
|
+
font-family: Arial, "Lucida Sans Unicode", Verdana, sans-serif;
|
|
93
|
+
font-weight: normal;
|
|
94
|
+
font-style: normal;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
math *.[mathvariant="bold-sans-serif"] {
|
|
98
|
+
font-family: Arial, "Lucida Sans Unicode", Verdana, sans-serif;
|
|
99
|
+
font-weight: bold;
|
|
100
|
+
font-style: normal;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
math *.[mathvariant="sans-serif-italic"] {
|
|
104
|
+
font-family: Arial, "Lucida Sans Unicode", Verdana, sans-serif;
|
|
105
|
+
font-weight: normal;
|
|
106
|
+
font-style: italic;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
math *.[mathvariant="sans-serif-bold-italic"] {
|
|
110
|
+
font-family: Arial, "Lucida Sans Unicode", Verdana, sans-serif;
|
|
111
|
+
font-weight: bold;
|
|
112
|
+
font-style: italic;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
math *.[mathvariant="monospace"] {
|
|
116
|
+
font-family: monospace
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
/* Rules dealing with "mathsize" attribute */
|
|
121
|
+
|
|
122
|
+
math *.[mathsize="small"] {
|
|
123
|
+
font-size: 80%
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
math *.[mathsize="normal"] {
|
|
127
|
+
/* font-size: 100% - which is unnecessary */
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
math *.[mathsize="big"] {
|
|
131
|
+
font-size: 125%
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/*Set size values for the "base" children of script and limit schema to
|
|
135
|
+
distinguish them from the script or limit children:
|
|
136
|
+
*/
|
|
137
|
+
|
|
138
|
+
msub>*:first-child[mathsize="big"],
|
|
139
|
+
msup>*:first-child[mathsize="big"],
|
|
140
|
+
msubsup>*:first-child[mathsize="big"],
|
|
141
|
+
munder>*:first-child[mathsize="big"],
|
|
142
|
+
mover>*:first-child[mathsize="big"],
|
|
143
|
+
munderover>*:first-child[mathsize="big"],
|
|
144
|
+
mmultiscripts>*:first-child[mathsize="big"],
|
|
145
|
+
mroot>*:first-child[mathsize="big"] {
|
|
146
|
+
font-size: 125%
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
msub>*:first-child[mathsize="small"],
|
|
150
|
+
msup>*:first-child[mathsize="small"],
|
|
151
|
+
msubsup>*:first-child[mathsize="small"],
|
|
152
|
+
munder>*:first-child[mathsize="small"],
|
|
153
|
+
mover>*:first-child[mathsize="small"],
|
|
154
|
+
munderover>*:first-child[mathsize="small"],
|
|
155
|
+
mmultiscripts>*:first-child[mathsize="small"],
|
|
156
|
+
mroot>*:first-child[mathsize="small"] {
|
|
157
|
+
font-size: 80%
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
msub>*:first-child,
|
|
161
|
+
msup>*:first-child,
|
|
162
|
+
msubsup>*:first-child,
|
|
163
|
+
munder>*:first-child,
|
|
164
|
+
mover>*:first-child,
|
|
165
|
+
munderover>*:first-child,
|
|
166
|
+
mmultiscripts>*:first-child,
|
|
167
|
+
mroot>*:first-child {
|
|
168
|
+
font-size: 100%
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/*Set size values for the other children of script and limit schema (the
|
|
172
|
+
script and limit children) - include scriptlevel increment attribute?
|
|
173
|
+
*/
|
|
174
|
+
|
|
175
|
+
msub>*[mathsize="big"],
|
|
176
|
+
msup>*[mathsize="big"],
|
|
177
|
+
msubsup>*[mathsize="big"],
|
|
178
|
+
munder>*[mathsize="big"],
|
|
179
|
+
mover>*[mathsize="big"],
|
|
180
|
+
munderover>*[mathsize="big"],
|
|
181
|
+
mmultiscripts>*[mathsize="big"],
|
|
182
|
+
math[display="inline"] mfrac>*[mathsize="big"],
|
|
183
|
+
math *[scriptlevel="+1"][mathsize="big"] {
|
|
184
|
+
font-size: 89% /* (.71 times 1.25) */
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
msub>* [mathsize="small"],
|
|
188
|
+
msup>*[mathsize="small"],
|
|
189
|
+
msubsup>*[mathsize="small"],
|
|
190
|
+
munder>*[mathsize="small"],
|
|
191
|
+
mover>*[mathsize="small"],
|
|
192
|
+
munderover>*[mathsize="small"],
|
|
193
|
+
mmultiscripts>*[mathsize="small"],
|
|
194
|
+
math[display="inline"] mfrac>*[mathsize="small"],
|
|
195
|
+
math *[scriptlevel="+1"][mathsize="small"] {
|
|
196
|
+
font-size: 57% /* (.71 times .80) */
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
msub>*,
|
|
200
|
+
msup>*,
|
|
201
|
+
msubsup>*,
|
|
202
|
+
munder>*,
|
|
203
|
+
mover>*,
|
|
204
|
+
munderover>*,
|
|
205
|
+
mmultiscripts>*,
|
|
206
|
+
math[display="inline"] mfrac>*,
|
|
207
|
+
math *[scriptlevel="+1"] {
|
|
208
|
+
font-size: 71%
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
mroot>*[mathsize="big"] {
|
|
212
|
+
font-size: 62% /* (.50 times 1.25) */
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
mroot>*[mathsize="small"] {
|
|
216
|
+
font-size: 40% /* (.50 times .80) */
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
mroot>* {
|
|
220
|
+
font-size: 50%
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
/* Set size values for other scriptlevel increment attributes */
|
|
224
|
+
|
|
225
|
+
math *[scriptlevel="+2"][mathsize="big"] {
|
|
226
|
+
font-size: 63% /* (.71 times .71 times 1.25) */
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
math *[scriptlevel="+2"][mathsize="small"] {
|
|
230
|
+
font-size: 36% /* (.71 times .71 times .71) */
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
math *[scriptlevel="+2"] {
|
|
234
|
+
font-size: 50% /* .71 times .71 */
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
math *.[mathcolor="green"] {
|
|
238
|
+
color: green
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
math *.[mathcolor="black"] {
|
|
242
|
+
color: black
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
math *.[mathcolor="red"] {
|
|
246
|
+
color: red
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
math *.[mathcolor="blue"] {
|
|
250
|
+
color: blue
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
math *.[mathcolor="olive"] {
|
|
254
|
+
color: olive
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
math *.[mathcolor="purple"] {
|
|
258
|
+
color: purple
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
math *.[mathcolor="teal"] {
|
|
262
|
+
color: teal
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
math *.[mathcolor="aqua"] {
|
|
266
|
+
color: aqua
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
math *.[mathcolor="gray"] {
|
|
270
|
+
color: gray
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
math *.[mathbackground="blue"] {
|
|
274
|
+
background-color: blue
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
math *.[mathbackground="green"] {
|
|
278
|
+
background-color: green
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
math *.[mathbackground="white"] {
|
|
282
|
+
background-color: white
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
math *.[mathbackground="yellow"] {
|
|
286
|
+
background-color: yellow
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
math *.[mathbackground="aqua"] {
|
|
290
|
+
background-color: aqua
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
} /* Close "@media screen" scope */
|
|
294
|
+
|
|
295
|
+
@media aural {
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
]]>
|
|
299
|
+
</eg>
|
|
300
|
+
</p>
|
|
301
|
+
</inform-div1>
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
|