×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Sep 2013
    Posts
    7

    Question Math formulas within text (RichTextBox)

    Is there a possibility of writing math formulas directly within the text? Up to now I'm using RichTextBoxes and I've implemented more complicated formulas as pictures, but it would be great if I could write them directly in the text.


    Thanks alot,
    Alex
    Last edited by madridistalex; 2013-09-08 at 12:48.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: Math formulas within text (RichTextBox)

    http://blogs.msdn.com/b/murrays/arch...tical-rtf.aspx may be something to experiment with, but honestly said I can not decode if it is base RTF or some proprietary extension. Which might still work at the end, by the way.

  3. #3
    Registered User
    Join Date
    Mar 2007
    Location
    ..., Earth, Brazil, Paraiba, Campina Grande
    Posts
    72

    Re: Math formulas within text (RichTextBox)

    How complicated are the formulas?

    If they are not so complicated, I guess that you can start reading this article http://developer.nokia.com/Community...indows_Phone_8.
    The author creates a stack and put each operator and operand into the stack. You could iterate over the text and do the same. At the end you can call the PerformOperation method.

  4. #4
    Registered User
    Join Date
    Sep 2013
    Posts
    7

    Re: Math formulas within text (RichTextBox)

    Thank you for the fast replies!

    @wizard_hu: I'll be looking at this site the next few days, but I think it could work.

    @mfabiop: The formulas are mainly with fractions, square roots, ... so not that complicated. But I want to write the formulas within normal text as an explanation and your site is about calculating the formulas if I understand it right. But thanks for the answer.

Similar Threads

  1. Richtextbox editor crash on nokia 5th edition.
    By ashutosh12 in forum Symbian User Interface
    Replies: 5
    Last Post: 2010-04-09, 12:36
  2. Replies: 8
    Last Post: 2009-12-09, 06:27
  3. RichTextBox Error
    By ash_21 in forum Symbian
    Replies: 10
    Last Post: 2009-07-31, 06:16
  4. Math.exp() and Math.log() in MIDP 2.0
    By Larry101 in forum Mobile Java General
    Replies: 1
    Last Post: 2007-12-11, 08:50
  5. system error in Richtextbox cut,copy paste
    By skdas in forum Symbian User Interface
    Replies: 0
    Last Post: 2003-05-28, 12:50

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×