math formulas in .NET

  • Thread starter Thread starter Sehri
  • Start date Start date
S

Sehri

Hi all,
I have just started developing a math companion tool with VS2005 and I just
ran into a problem when trying to add the description of a formula. Doed
anyone know how can I add math formulas and math characters in .NET? Maybe
this is the same for everywhere, I just don't know the answer. I appreciate
your help.

Thanks,

Sehri
 
Sehri said:
Hi all,
I have just started developing a math companion tool with VS2005 and I
just ran into a problem when trying to add the description of a formula.
Doed anyone know how can I add math formulas and math characters in .NET?
Maybe this is the same for everywhere, I just don't know the answer. I
appreciate your help.

What do you mean by "math formulas and math characters"?
 
Sehri said:
writing math formulas like the following page:

http://mathworld.wolfram.com/DirichletProblem.html

basically, writing fractions, integrals, subscripts, superscripts, etc...

Any help or direction is appreciated. I do need these for .NET Compact
framework if possible, thanks,

The language does not offer most of these functions. You'll have to find a
math library, there should be several you can find via google.
 
As you could see on the link you send us: the 'mathematical characters' are
in fact pictures.
So if you want to manipulate these you've got to:
1. choose your own semantic/user action/whatever to input them
2. use picture/GDI+ drawing/something similar to display them.

There are no 'standart way' of doing that.
Not in the programing sense, anyway..
 
Sehri said:
writing math formulas like the following page:

http://mathworld.wolfram.com/DirichletProblem.html

basically, writing fractions, integrals, subscripts, superscripts,
etc...
Any help or direction is appreciated. I do need these for .NET
Compact framework if possible, thanks,

If you chose a Unicode font you can print most of these on screen using
normal GDI. On the desktop Lucida Console is a Unicode font. For
example, the integral sign is 0x2202 (or 0x2320 and 0x2321), Greek
characters start at 0x3b1. Subscripting and superscripting is performed
by using a smaller font and adjusting the print position.

Richard
 
Back
Top