Re: Question about maxsize, minsize

Hi.

I should double check with some other people, but I think the test
suite image is wrong here.  The text in 3.2.5.8 clearly says minsize
and maxsize refer to the normal unstretched size.

Thanks for catching this problem with the test suite.

--Robert
------------------------------------------------------------------
Dr. Robert Miner                                RobertM@dessci.com
W3C Math Interest Group Co-Chair                      651-223-2883
Design Science, Inc.   "How Science Communicates"   www.dessci.com
------------------------------------------------------------------

------------------------- original message ---------------------

> 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 ?

Received on Thursday, 7 October 2004 15:13:50 UTC