How do they do it? Some companies make awesome software, what is it that gives them results?

Posted on 2002-03-24
Medium Priority
Last Modified: 2010-04-05

For example, Mathematica is a mathematics program. how does the programmer know how solve his problems with displaying for example a value for n at the top of sigma or summation, then a 2 below summation then a i and a j in smaller print to right of it.

Ive seen the summation symbol in the maths font, and thats all it is, it doesnt contain the other numbers.

How do they do it?

Have they paid Microsoft thousands to help them?
What is it that these programmers know that I dont.

Please help
Question by:Ben_iti
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 11

Expert Comment

ID: 6892047
I would guess they simply have special fonts for that.

Accepted Solution

rfedyk earned 100 total points
ID: 6892054
Hi Ben_iti,

I assume that you are talking about the typesetting methodolgy for handling subscripts and superscripts.  

If that is the case, then you have to handle all of that yourself. The TCanvas methods allow you to select different fonts for each text element and position them wherever you want to. There is no built in functionality to do what Mathematica does.

The whole area of typesetting is a specialist subject but you can learn the basics by experimenting with TCanvas.Font settings and TCanvas.TextOut.


Author Comment

ID: 6892537
Hi rfedyk

I think you know what im talking about.
Yes I am referring to the subscripts and superscripts.
But I want to appear similar to mathematica or matlab.

In this order of precedence.

1. Click on summation button
2. Draw the summation symbol
3. Waiting for user to input number that will appear above summation then show users input number as well as summation.
4. Waiting for user to input number that will appear below summation then show users input number as well as
number at top and summation.
5. Then allow to do the little letters to the right.

Exactly like mathematica.

I'll try what you mentioned rfedyk.

So you saying that I can assign the summation symbol to the button and it should print it in the area I choose. Therefore this means that I can could possibly do the following:

1. Assign the maths symbol summation to a button.
2. The computer draws that symbol on screen.
3. This time move the cursor above the image of summation somehow.
4. Wait for user to input a number
5. Then when the user hits enter or return or tab, the computer will move it to its next position which is below the summation.
6. Then the user hit return or tab or enter.
7. After that the computer then moves the cursor next to the alphanumerical values and awaits for i or j.

Theres another question that comes to mind.
1. If I were to do that whole summation formula on a line, and I wanted to divide that whole summation by a dot product or a vector cross product, or anything, how would I get the computer to move the formula up so that it doesn't cross over the line.
Now im not talking about the fraction line, im talking about another line

   e.e sq2


like that.

not like this

    e.e sq2


Expert Comment

ID: 6975631
ADMINISTRATION WILL BE CONTACTING YOU SHORTLY.  Moderators Computer101 or Netminder will return to finalize these if they are still open in 14 days.  Experts, please post closing recommendations before that time.

Below are your open questions as of today.  Questions which have been inactive for 21 days or longer are considered to be abandoned and for those, your options are:
1. Accept a Comment As Answer (use the button next to the Expert's name).
2. Close the question if the information was not useful to you, but may help others. You must tell the participants why you wish to do this, and allow for Expert response.  This choice will include a refund to you, and will move this question to our PAQ (Previously Asked Question) database.  If you found information outside this question thread, please add it.
3. Ask Community Support to help split points between participating experts, or just comment here with details and we'll respond with the process.
4. Delete the question (if it has no potential value for others).
   --> Post comments for expert of your intention to delete and why
   --> YOU CANNOT DELETE A QUESTION with comments; special handling by a Moderator is required.

For special handling needs, please post a zero point question in the link below and include the URL (question QID/link) that it regards with details.
Please click this link for Help Desk, Guidelines/Member Agreement and the Question/Answer process.  http://www.experts-exchange.com/jsp/cmtyHelpDesk.jsp

Click you Member Profile to view your question history and please keep them updated. If you are a KnowledgePro user, use the Power Search option to find them.  

Questions which are LOCKED with a Proposed Answer but do not help you, should be rejected with comments added.  When you grade the question less than an A, please comment as to why.  This helps all involved, as well as others who may access this item in the future.  PLEASE DO NOT AWARD POINTS TO ME.

To view your open questions, please click the following link(s) and keep them all current with updates.

*****  E X P E R T S    P L E A S E  ******  Leave your closing recommendations.
If you are interested in the cleanup effort, please click this link
POINTS FOR EXPERTS awaiting comments are listed in the link below
Moderators will finalize this question if in @14 days Asker has not responded.  This will be moved to the PAQ (Previously Asked Questions) at zero points, deleted or awarded.
Thanks everyone.
Moderator @ Experts Exchange

Author Comment

ID: 7004263
A good start into the right direction.

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month9 days, 11 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question