U++ framework
Do not panic. Ask here before giving up.

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: 3458
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 Apr 25 22:30:29 GMT+2 2026

Total time taken to generate the page: 0.00900 seconds