Re: Creating a hybrid cell

• To: mathgroup at smc.vnet.net
• Subject: [mg109189] Re: Creating a hybrid cell
• From: AES <siegman at stanford.edu>
• Date: Fri, 16 Apr 2010 05:51:40 -0400 (EDT)
• Organization: Stanford University
• References: <hpcjda\$mrl\$1@smc.vnet.net> <hpf5m3\$our\$1@smc.vnet.net> <hphq1o\$1cn\$1@smc.vnet.net> <hq61o6\$3h3\$1@smc.vnet.net>

```> A better solution would be the following: create a text cell and enter
> > something like "Previously we calculated the value of X1 to be ", then
> > insert an inline cell (ctrl+9, I believe). In the inline cell, enter
> > "Dynamic[X1]", select and evaluate in place.
> >
> > The inline cell, although it appears inside of a text cell, will
> > automatically update to reflect the current value of X1. The previous
> > solution only captures the value of X1 at the time of evaluation.

Are there any side effects that one has to watch out for with this
approach?

As one (probably unrealistic) concern, suppose one did this with a
sizable number of variables X1 . . . X100, or did it with a moderately
complex Plot (can this be done with a Plot, inside a text cell?).

Might doing this seriously slow down (or otherwise mess up) other
calculations involving or using the X_n values?

```

• Prev by Date: Re: Function making white spaces
• Next by Date: How to simplify "Integrate[2 f[x], {x, 0, 1}]/2" to "Integrate[f[x],
• Previous by thread: Re: Creating a hybrid cell
• Next by thread: Re: Creating a hybrid cell