W3C home > Mailing lists > Public > www-math@w3.org > January 2004

Re: When to stretch parentheses

From: Max Froumentin <mf@w3.org>
Date: Fri, 30 Jan 2004 13:33:38 +0100
To: Semirat Stephan <Stephan.Semirat@ac-grenoble.fr>
Cc: David Carlisle <davidc@nag.co.uk>, Vincent.Quint@inria.fr, www-math@w3.org
Message-ID: <8765ethazh.fsf@w3.org>
Semirat Stephan <Stephan.Semirat@ac-grenoble.fr> wrote:

> However, when you write the formula by hand on a paper (i think that is 
> what to be expected by a "good" renderer, isn't it ? that is to be the 
> most readable possible) you only stretch parenthesis with what they 
> contain, do you ?

I agree, and I don't think anyone would stretch in this particular case.

> So my view is that Mozilla has made the good choice...

Or rather that the spec does not specify the best rendering in this
case. But consider another example:



          / 1 \           /   \ / 1 \
          | - |           | 1 | | - |
    / 1 \ | i |           |   | | i |
    | 2 | | 2 |           | 2 | | 2 |
a = | 3 | | 3 |   vs  a = | 3 | | 3 |
    | 4 | | 4 |           | 4 | | 4 |
    \   / \   /           \   / \   /


where right is better than left.

                   / 1 \ 
           /  \    | - |
           | 1 |   | i |
           | 2 |   | 2 |
however, a | 3 | = | 3 |
           | 4 |   | 4 |
           \   /   \   /

is (in my opinion) acceptable. So maybe the rule should be flexible 
and could depend on the operators between the subelements.

Max.

Received on Friday, 30 January 2004 07:34:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 February 2010 06:12:55 GMT