Re: Creating a Banner -> Now creating a slide show
- To: mathgroup at smc.vnet.net
- Subject: [mg93737] Re: Creating a Banner -> Now creating a slide show
- From: Albert Retey <awnl at gmx-topmail.de>
- Date: Mon, 24 Nov 2008 04:14:59 -0500 (EST)
- References: <gg8pb7$ju0$1@smc.vnet.net>
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 =
TextCell["","SlideShowNavigationBar",CellTags->"SlideShowHeader"];
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.
hth,
albert