diff --git a/src/intent.html b/src/intent.html index a6690e1..0cc0633 100644 --- a/src/intent.html +++ b/src/intent.html @@ -562,6 +562,43 @@

Intent Examples

bell number of 2
+

CSS customization is generally not made available + to AT. In cases where authors have meaningful stylistic emphases, + or stylized constructs with custom names, using an intent attribute is appropriate. + A pedagogical example would be:

+
+
+<style>
+  .step { padding:0.1em; }
+  .start { background-color:#FFFF00; }
+  .result {  background-color:lightgreen; }
+</style>
+
+
+
+ +
+<mn>1</mn><mo>+</mo>
+<mrow class="step start"
+      intent="highlighted-step($step)">
+  <mfrac arg="step"><mn>6</mn><mn>2</mn></mfrac>
+</mrow>
+<mi>x</mi>
+<mo>=</mo>
+<mn>1</mn><mo>+</mo>
+<mn class="step result"
+    intent="highlighted-result(3)">3</mn>
+<mi>x</mi>
+
+
one plus highlighted step of six over two end highlighted step x + equals one plus highlighted result of three end highlighted result x
+ one plus six over two x equals one plus three x +
+

Tables