MathGroup Archive 2007

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

Search the Archive

Re: Error using Notebook?

  • To: mathgroup at
  • Subject: [mg81507] Re: Error using Notebook?
  • From: Norbert Marxer <marxer at>
  • Date: Wed, 26 Sep 2007 06:40:54 -0400 (EDT)
  • References: <fd2g89$s87$>

On 22 Sep., 09:29, John <j... at> wrote:
> In Wellin, page 311,  3-rd edition, the instructions:
>   Notebook[{
>       cell["Demo notebook","Section"],
>       cell["This is a text cell","Text"],
>       cell["1+2+3","Input"]
>      }]
> ]
> printed the cell contents on Untitled-1, but nothing was printed, when
> I tried it.
> I am using Mathematica 6.
> John


If you correct your syntax errors (Cell instead of cell, and drop the
last square bracket ]) then applying CreateDocument will open a new
notebook. e.g.

      Cell["Demo notebook","Section"],
      Cell["This is a text cell","Text"],

Best Regards
Norbert Marxer

  • Prev by Date: Re: Epilog in ListLogPlot
  • Next by Date: Re: making a list using table but with different increment after a certain number
  • Previous by thread: Re: Error using Notebook?
  • Next by thread: Any Mathematica 6 book yet?