Re: Re: new slide template: how change?
- To: mathgroup at smc.vnet.net
- Subject: [mg67273] Re: [mg67243] Re: new slide template: how change?
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Thu, 15 Jun 2006 03:25:58 -0400 (EDT)
- Organization: Mathematics & Statistics, Univ. of Mass./Amherst
- References: <e6liac$nk0$1@smc.vnet.net> <200606141028.GAA28157@smc.vnet.net>
- Reply-to: murray at math.umass.edu
- Sender: owner-wri-mathgroup at wolfram.com
That helps enormously: I was able to modify both the new slide behavior and amend to Style Sheets palette for slide shows. One problem is left: With my added entries on both palettes, the window sizes for each is not quite tall enough to include everything. Where in the code is that changed? In my text editor I searched for WindowSize but that only seems to affect other things, e.g., the window size for a "New Template" notebook opened from the corresponding button. (It's REALLY hard to parse long Mathematica expressions without all of the Front End's help.) bghiggins at ucdavis.edu wrote: > Murray, One way is to modify the actual palette. > > (i) Make a copy of the CreateSlideShow.nb notebook from the the > SystemFiles=>FrontEnd=>Palette > (ii) Open up the notebook in a texteditor > (iii) Copy the code for New Slide button (it begins about Line 241 with > > {ButtonBox[\(New\ Slide\), > ButtonFunction:>(CompoundExpression[ > NotebookWrite[ ....... > } > and past it after the precedding code for New Slide. > (iv) Save the modified notebook. Now when you open up the modified > CreateSlideShow.nb you should see an additional buttoon function called > New Slide > (v) Now simply modify the code that yopu inserted in step (iii) where > it reads 'Cell[ "New Slide", "Section"]' to read Cell[ "New > Subsection", "Subsection"]' > (vi) You can also modify the heading for the button by changing > ButtonBox[\(New\ Slide\),... to ButtonBox[\(New\ Subsection\).... > > (vii) If you interrogate the code you will also see that various > stylesheets are embedded. Thus you can also modify the possible > stylesheets you want to use with your slideshow palette. > > Hope this helps, > > Cheers, > > Brian > > > Murray Eisenberg wrote: >> This concerns a StyleSheet having a SlideShow environment. >> >> When one clicks the button "New Slide" on the Create Slide Show palette, >> a new slide appears that contains two cells: one with style >> SlideShowHeader and the other with style Section (and with text "New >> Slide"). >> >> How can one specify, instead, that the second cell automatically created >> on each slide has a different style -- say SlideShowSection? (I'm >> assuming, of course, that the StyleSheet defines a SlideShowSection style.) >> >> -- >> Murray Eisenberg murray at math.umass.edu >> Mathematics & Statistics Dept. >> Lederle Graduate Research Tower phone 413 549-1020 (H) >> University of Massachusetts 413 545-2859 (W) >> 710 North Pleasant Street fax 413 545-1801 >> Amherst, MA 01003-9305 > > -- Murray Eisenberg murray at math.umass.edu Mathematics & Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts 413 545-2859 (W) 710 North Pleasant Street fax 413 545-1801 Amherst, MA 01003-9305
- References:
- Re: new slide template: how change?
- From: bghiggins@ucdavis.edu
- Re: new slide template: how change?