Related articles |
---|
mathematical expressions _Maverick_@web.de (Seidl Markus) (2003-05-06) |
Re: mathematical expressions thipse@sasken.com (Rajesh N Thipse) (2003-05-12) |
Re: mathematical expressions bobduff@shell01.TheWorld.com (Robert A Duff) (2003-05-13) |
Re: mathematical expressions vbdis@aol.com (2003-05-13) |
Re: mathematical expressions tmk@netvision.net.il (2003-05-15) |
Re: mathematical expressions guillermo.phillips@marsman.demon.co.uk (Guillermo Phillips) (2003-05-15) |
From: | Rajesh N Thipse <thipse@sasken.com> |
Newsgroups: | comp.compilers |
Date: | 12 May 2003 01:19:16 -0400 |
Organization: | Compilers Central |
References: | 03-05-033 |
Keywords: | parse, comment |
Posted-Date: | 12 May 2003 01:19:16 EDT |
One way to get rid of this problem is - use parenthesis.."(" ")"
The character which represents "sqrt" will be something like "V"
(without any horizontal bar)
sqrt(sqrt(sqrt(5))) can be written as V(V(V(5)))
otherwise not only the length of the "sqrt sign" would be a problem but
also
the height of characters following that...
e.g. in V(2 + V(V(V(V(V(V(5))))))) the height/size of 2 and 5 cannot
be same....
~Rajesh
Seidl Markus wrote:
> Hello :)
>
> I want to write a parser which converts sth like "5+5^2" in an image >
> 5+5=B2 < (i mean converting from mathematical expression to how you
> would write them with your own hand...) ...
[ You should also look at eqn, the well known unix equation typesetting
package, and the similar equation part of LaTeX. -John]
Return to the
comp.compilers page.
Search the
comp.compilers archives again.