MathGroup Archive 2008

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

Search the Archive

Re: Creating a Banner -> Now creating a slide show

  • To: mathgroup at
  • Subject: [mg93737] Re: Creating a Banner -> Now creating a slide show
  • From: Albert Retey <awnl at>
  • Date: Mon, 24 Nov 2008 04:14:59 -0500 (EST)
  • References: <gg8pb7$ju0$>

Hi Alexei,

> Now comes my question. Do you know a way to programmatically instruct 
> Mathematica that the newly created notebook must open already as a 
> SlideShow and each of these cell groups must be shown in a separate slide?
> To explain the importance of this point: if it works, you can open your 
> second (presentation) notebook  from your first one just few seconds 
> before the presentation. Otherwise you will need just before your 
> presentation to spend time on dividing it into slides.

you will need to do two things:

1) create header-cells which divide the notebook content into slides,
   you can use this:

   headercell =

2) set the option ScreenStyleEnvironment to "SlideShow" for the document
you create. Then the following change to your code should do what you want:

nb = CreateDocument[{
  headercell, title1, textCell1, demoCell1,
  headercell, title2, textCell2, demoCell2
 ScreenStyleEnvironment -> "SlideShow",
 WindowSize -> {Full, Full}

I have deleted the Cellgroups since the grouping is just what the
Automatic grouping will do anyway and I think unless you change the
notebook options to cellgrouping manual it won't make a difference
anyway. Also I usually prefer full screen mode for presentations, so I
adopted the WindowSize.



  • Prev by Date: How to animate a (scrolling) ListPlot in a procedural Mathematica program?
  • Next by Date: Re: Analyzing sequences of fractions in Mathematica
  • Previous by thread: Re: Re: Creating a Banner -> Now creating a slide show
  • Next by thread: Re: Creating a Banner -> Now creating a slide show