W3C home > Mailing lists > Public > www-math@w3.org > August 1998

Re: 'Bevel' fraction

From: Kostya Serebriany <kostya_silver@yahoo.com>
Date: Wed, 12 Aug 1998 06:30:33 -0700 (PDT)
Message-ID: <19980812133033.165.rocketmail@send101.yahoomail.com>
To: www-math@w3.org
Hello, All.

---David Carlisle <davidc@nag.co.uk> wrote:
>
> 
> Isn't raising fractions just a style issue to be decided by the render
> or style sheet, that is, couldn't the mathml
> 
> <mrow>
>     <mi>a</mi>
>   <mo>/</mo>
>     <mi>b</mi>
> </mrow>
> 
> be rendered as:
> 
>     (like 'a/b', but letters are smaller then regular and 'a' is located
>     higher then 'b')
> 
> without any special markup, if that is the style you want for inline fractions?
> 
 My question was how to make three different kinds of fraction. 

First kind (<mafrac>, <divide>) is rendered like 
<munderover>
 <mi>-</mi>
 <mi>b</mi>
 <mi>a</mi>
</munderover>

Second kind (<mi>a</mi><mo>/</mo><mi>b</mi>) is rendered like 'a/b' in plain text i.e. 'a' and 'b' are located on the same level ('/' is stretchy)

And the third kind is something in the middle.
Some fonts have single character for 1/2 (and/or 1/4)
I have attached a gif file with all three kinds.

Kostya 
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com


fractions.gif
(image/gif attachment: fractions.gif)

Received on Wednesday, 12 August 1998 09:30:48 GMT

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