[Date Index] [Thread Index] [Author Index]
Re: Creating a hybrid cell
> 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?