MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Creating a hybrid cell

  • To: mathgroup at smc.vnet.net
  • Subject: [mg108914] Re: Creating a hybrid cell
  • From: Geico Caveman <spammers-go-here at spam.invalid>
  • Date: Wed, 7 Apr 2010 03:19:26 -0400 (EDT)
  • References: <hpcjda$mrl$1@smc.vnet.net> <hpf5m3$our$1@smc.vnet.net>

On 2010-04-06 04:24:51 -0700, dh <dh at metrohm.com> said:

> On 05.04.2010 14:00, Geico Caveman wrote:
>> I am doing a calculation. Let us say that the result of the calculatio=
n
>> 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 cla=
ss.
>>
>> 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 li=
ke:
> x=x
> then select the second x and choose "Evaluate in Place" (from the menu
> "Evaluation" or by right click)
> Daniel

Perfect. Thanks :)


  • Prev by Date: Re: Integration error
  • Next by Date: Re: Mathematica Programming
  • Previous by thread: Re: Creating a hybrid cell
  • Next by thread: Re: Creating a hybrid cell