W3C home > Mailing lists > Public > www-math@w3.org > December 2001

Re: MathML for complex number expressions

From: David Carlisle <davidc@nag.co.uk>
Date: Fri, 7 Dec 2001 09:39:33 GMT
Message-Id: <200112070939.JAA19018@penguin.nag.co.uk>
To: J.P.Fletcher@aston.ac.uk
CC: www-math@w3.org
   z = (1,2)
  <declare type="complex-cartesian">

you appear to be mixing two constructs here, the sep element should be a
child of cn not of declare.

z as an identifier standing for a complex number would be

<ci type="complex">z</ci>

or <declare type="complex"><ci>z</ci></declare> ..... <ci>z</ci>

The complex cartesian expression 1 + 2i is
<cn type="complex-cartesian">1<sep/>2</cn>

To declare z as standing for that particularnimber you'd do

<declare type="complex"><ci>z</ci>
  <cn type="complex-cartesian">1<sep/>2</cn></declare>

(with the outer type="compex" being optional, although if you want
complex numbers to typeset differently its probably a good idea to
declare it rather than expect the typesetter to infer the typeof the
identifier from the type of the object it identifies)


This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
Received on Friday, 7 December 2001 04:40:08 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:27:31 UTC