Re: When to stretch parentheses

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 UTC