Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » RichText,QTF,RTF... » Math equations in QTF
Re: Math equations in QTF [message #20605 is a reply to message #20251] Thu, 26 March 2009 00:13 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3361
Registered: August 2008
Senior Veteran
Hello all

I have prepared a function to draw mathematical equations as this one:

index.php?t=getfile&id=1658&private=0

The function is:
Drawing DrawEquation(String str);

And the viewed sample call is:
Drawing drw = DrawEquation("integral(sqrt(cos(phi_ini^2)) + i^2 + 6, i = 1, 10)*dx = cos((27+x^2)^3.25)/(PI*R_0^2)");

It parses the String passed and builds the equation Drawing object considering upper and lower greek alphabet and easy subscripts and superscripts.

I think that now is not enough big to do a new enter in Bazaar for it. If somebody is interested in it I can include the code.

Now I use it to insert equations in Qtf through QtfRichObject and CreateDrawingObject. If somebody thinks about a better function interface proposals are accepted.

Best regards
Koldo

  • Attachment: Equation.JPG
    (Size: 4.59KB, Downloaded 1463 times)


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Report package: how to set header on first page different to other pages
Next Topic: Convert help topics in html pages
Goto Forum:
  


Current Time: Thu May 09 11:40:54 CEST 2024

Total time taken to generate the page: 0.02393 seconds