Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2007

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

Search the Archive

Re: Printing Subscripted Variable on Screen?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg84049] Re: Printing Subscripted Variable on Screen?
  • From: dh <dh at metrohm.ch>
  • Date: Fri, 7 Dec 2007 03:14:53 -0500 (EST)
  • References: <fj65c4$fms$1@smc.vnet.net>


Hi John,

here is a simpler solution that formats better:

CreateDocument[TextCell@Row[{"The symbol, ",Subscript[x,s],"denotes the 

probability that the outcome of the roll is is i,i=1,2,3,...,6."}]]



Further, CreateDocument creates a whole document. If you want to write a 

single cell into a document, use: NotebookWrite[notebook,data]

Daniel



John wrote:

> I want a subscripted variable, which has been entered in a notebook

> text cell, to print on the screen, when the notebook is executed.

> 

> The subscripted variable is in the notebook, but it is not printed on

> the screen.

> 

> John

> 


  • Prev by Date: Re: expressions list -> equations list
  • Next by Date: Contour Lines colored by temperature scale
  • Previous by thread: Re: Printing Subscripted Variable on Screen?
  • Next by thread: Memory consumption problem