As the preceding paragraphs illustrate, with Zed you quite
often get much more than what meets the eye. In fact, what
meets the eye is determined only by the presentation
markup for an expression; the content markup
may be quite different, even for expressions that
have the same presentation. A few examples will help
illustrate the kinds of things to remember.
Special numeric and constant elements are examples of
the kind of ambiguity inherent in mathematical notation.
If you click on the above example link, you will see two
complex numbers that look to have the same form. As far
as the presentation markup is concerned, they are identical.
But the content markup for the number on the left is formed
with arithmetic operators like <plus> and <times>, while
the content markup for the number on the right is formed by
a single <cn> element describing the complex number.
Other examples could be formed that use the special
constant elements
defined in MathML, or with elements like <ident>
that present themselves in special ways.
If you click on this next example link, you will see two sides
of an inequality that look the same, but are very different.
The left hand side is the application of the element
<diff>, while the right hand side is a collection of products
and quotients. In fact, the presentation markup for the two
expression is almost identical, except for the insertion
of a few references to the entity invisible times (⁢),
and for the use of <mo> versus <mi>. Even so, the content
markup on each side of the relation is quite different, and
reveals the full structure of what has been created. While
the two expressions look almost identical on the
surface, when evaluated by a suitable tool they would behave
quite differently.
There are also expressions that one would reasonably expect
to behave the same, but which appear quite different in Zed.
Quite often the application of a simple algebraic relation will
cause an expression to take on quite a different structure.
The above example contrasts negative exponents with quotients,
but there are numerous others. While these two expressions
are equivalent with the usual interpretation of the operators
involved, Zed maintains the structural distinction between the two,
and so the presentation of the two forms is quite different.
These examples all demonstrate how Zed approaches the viewing,
and ultimately the editing, of mathematical expressions.
Instead of "What You See Is What You Get", Zed will remember
and respect the particular way you choose to create each
expression, and so "What You Create Is What You Get",
whether it looks like what you had intended to create, or not.