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

Question about maxsize, minsize

From: Kobayashi <koba@antenna.co.jp>
Date: Thu, 07 Oct 2004 20:48:56 +0900
To: www-math <www-math@w3.org>
Message-Id: <20041007204856.1515f0%koba@antenna.co.jp>

Hello !


I have a question about maxsize, minsize attribute.

There is a description as follows:

The minsize and maxsize attributes limit the amount of stretching 
(in either direction). These two attributes are given as multipliers 
of the operator's normal size in the direction or directions of 
stretching, or as absolute sizes using units. For example, if a 
character has maxsize="3", then it can grow to be no more than 
three times its normal (unstretched) size. 

(MathML2.0 spec, "3.2.5.8 Stretching of operators, fences and accents")

It says that "<mo maxsize/minize=3>" specifies to render the size 
of a operator as 300% of unstretched size of the operator.

In contrast, samples in MathML test suite seem to imply that 
"<mo maxsize/minize=3>" specifies to render the size of a 
operator as 300% of "stretched" size of the operator.

For example, 
In the case of Presentation/TokenElements/mo/moSminmax20

      <mstyle minsize='1cm' maxsize='3cm'> 
        <mrow> 
          <mo>(</mo> 
          <mfrac> 
            <mi>y</mi> 
            <mi>z</mi> 
          </mfrac> 
          <mo maxsize='25%'>)</mo>   --- (1) 
          <mo>+</mo> 
          <mo minsize='225%'>(</mo>  --- (2) 
          <mfrac> 
            <mi>y</mi> 
            <mi>z</mi> 
          </mfrac> 
          <mo maxsize='infinity'>)</mo> 
        </mrow> 
      </mstyle> 
    </math>
  
>From the sample rendering, the size of parenthesis (1) seems to be
25% of the height of a fraction, and the size of parenthesis 
(2) seems to be 225% of the height of a fraction. The height of
these parentheses are not 25% nor 225% of "unstretchd" size.

Is there any misunderstanding ?

Tokushige Kobayashi
Antenna House, Inc.
E-mail koba@antenna.co.jp
WWW    http://www.antenna.co.jp/XML/ (Japanese)
WWW    http://www.antennahouse.com/ (English)
TEL    +81-3-3234-1361 (direct call)
FAX    +81-3-3221-9975

Let's migrate from a whiteboard to:
http://www.antenna.co.jp/ikisaki/
Received on Thursday, 7 October 2004 12:10:29 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:39:49 UTC