Re: Inserting the value of a current variable (symbol) in a text cell?
- To: mathgroup at smc.vnet.net
- Subject: [mg9370] Re: [mg9314] Inserting the value of a current variable (symbol) in a text cell?
- From: Allan Hayes <hay at haystack.demon.co.uk>
- Date: Sat, 1 Nov 1997 03:33:55 -0500
- Sender: owner-wri-mathgroup at wolfram.com
siegman at ee.stanford.edu (AES) [mg9314] Inserting the value of a current variable (symbol) in a text cell? writes > Assuming a given symbol ("x", say) has previously been given a > numerical value (x=<x-value>, say), is there a simple way to have > that numerical value appear in the text in a text cell? > E.g., have the text in a cell read, "Using our previous assumption > that x = <x-value>, we can show that . . . " Evaluation in Place may be what you want: Enter x = 22 Type in a text cell x = x Select the second x Use Kernel> Evaluation > Evaluate In Place. You will get x = 2 Allan Hayes hay at haystack.demon.co.uk http://www.haystack.demon.co.uk/ voice:+44 (0)116 2714198 fax: +44 (0)116 2718642 12, Copse Close Oadby Leicester, UK