Re: Creating a hybrid cell
- To: mathgroup at smc.vnet.net
- Subject: [mg108895] Re: Creating a hybrid cell
- From: dh <dh at metrohm.com>
- Date: Tue, 6 Apr 2010 07:25:02 -0400 (EDT)
- References: <hpcjda$mrl$1@smc.vnet.net>
On 05.04.2010 14:00, Geico Caveman wrote: > I am doing a calculation. Let us say that the result of the calculation > is in variable X1 (which was extracted from a list using [[]] type > constructs - unimportant, but it is a result). > > I want to add text cells later in the notebook that refer to the value > of X1 (not the string "X1"). I have tried doing this with the use of > inline cells crtl + ( and ctrl + ), but when I evaluate the notebook, I > just get something like : > > "We calculated X1 earlier to be X1." instead of the expected "We > calculated X1 earlier to be<<value of X1>>". > > I am trying to use Mathematica as a tool to create a handout for a class. > > I am not a Mathematica newbie, though I am new to using it for any > purpose other than as a calculation program. > > Any ideas if this is possible ? > Hi geico, you could e.g. assuming x already has a value, first write your text like: x=x then select the second x and choose "Evaluate in Place" (from the menu "Evaluation" or by right click) Daniel -- Daniel Huber Metrohm Ltd. Oberdorfstr. 68 CH-9100 Herisau Tel. +41 71 353 8585, Fax +41 71 353 8907 E-Mail:<mailto:dh at metrohm.com> Internet:<http://www.metrohm.com>