Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

Re: Creating a hybrid cell

  • To: mathgroup at smc.vnet.net
  • Subject: [mg108903] Re: Creating a hybrid cell
  • From: "David Park" <djmpark at comcast.net>
  • Date: Tue, 6 Apr 2010 07:26:31 -0400 (EDT)

Start a Text cell and type: The value of x is Dynamic[x].

When you do this put the first x and Dynamic[x] in Inline Cells. Use Ctrl+9
to start an Inline Cell.

Evaluate in place the Dynamic[x] Inline Cell.

Now evaluate x = 6 somewhere in the notebook and it should be reflected in
the Text statement. Evaluate Clear[x] and it should return to a plain x.


David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/  



From: Geico Caveman [mailto:spammers-go-here at spam.invalid] 

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 ?




  • Prev by Date: Re: Creating a hybrid cell
  • Next by Date: Re: size of ticks
  • Previous by thread: Re: Creating a hybrid cell
  • Next by thread: Re: Creating a hybrid cell