A comprehensive test of bvar syntax
<!DOCTYPE math PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd"> <math xmlns="http://www.w3.org/1998/Math/MathML"> <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/> </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>
Author: Design Science, Inc. (D. Doyle)