| prev | next |
| File: | ErrorHandling/BadChildren/badBvar1.html | |
| Author: | Design Science, Inc. (D. Doyle) | |
| Description: | A comprehensive test of bvar syntax | |
| Sample Rendering: |
|
Your browser's rendering:
Source Code:
<math>
<mtable>
<mtr>
<mtd>
<mtext>correct:</mtext>
</mtd>
<mtd>
<bvar>
<ci>x</ci>
</bvar>
</mtd>
</mtr>
<mtr>
<mtd>
<mtext>correct w/ degree</mtext>
</mtd>
<mtd>
<bvar>
<ci>x</ci>
<degree>
<cn>2</cn>
</degree>
</bvar>
</mtd>
</mtr>
<mtr>
<mtd>
<mtext>missing <ci>:</mtext>
</mtd>
<mtd>
<bvar> </bvar>
</mtd>
</mtr>
<mtr>
<mtd>
<mtext>missing <ci> w/ degree:
</mtext>
</mtd>
<mtd>
<bvar>
<degree>
<cn>2</cn>
</degree>
</bvar>
</mtd>
</mtr>
<mtr>
<mtd>
<mtext>2 <ci>s</mtext>
</mtd>
<mtd>
<bvar>
<ci>x</ci>
<ci>y</ci>
</bvar>
</mtd>
</mtr>
<mtr>
<mtd>
<mtext>2 w/ degree</mtext>
</mtd>
<mtd>
<bvar>
<ci>x</ci>
<ci>y</ci>
<degree>
<cn>2</cn>
</degree>
</bvar>
</mtd>
</mtr>
<mtr>
<mtd>
<mtext><mi> used</mtext>
</mtd>
<mtd>
<bvar>
<mi>x</mi>
</bvar>
</mtd>
</mtr>
<mtr>
<mtd>
<mtext><mi> used w/ degree</mtext>
</mtd>
<mtd>
<bvar>
<mi>x</mi>
<degree>
<cn>2</cn>
</degree>
</bvar>
</mtd>
</mtr>
<mtr>
<mtd>
<mtext>missing <ci>, 2 degrees
</mtext>
</mtd>
<mtd>
<bvar>
<degree>
<cn>4</cn>
</degree>
<degree>
<cn>2</cn>
</degree>
</bvar>
</mtd>
</mtr>
</mtable>
</math>