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 #20614 is a reply to message #20606] Thu, 26 March 2009 23:44 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3358
Registered: August 2008
Senior Veteran
Hello gridem

Here I enclose you the package.

Now the calling function is
QtfRichObject QtfEquation(String str)
so that to get it into Qtf is as simple as
GUI_APP_MAIN
{
	String qtfText;

	QtfRichObject qtEq = QtfEquation("integral(sqrt(cos(phi_ini^2)) + i^2 + 6, i = 1, 10)*dx = cos((27+x^2)^3.25)/(PI*R_0^2)");
	
	qtfText << "[R3 This is a formula in QTF:&" << qtEq;

	PromptOK(qtfText);
}


ToDo list:
- Improve appearance mainly in Linux
- Change font size
- (Perhaps) Improve expression parser

Best regards
Koldo


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: Sat May 04 02:12:39 CEST 2024

Total time taken to generate the page: 0.01900 seconds