16
$\begingroup$

I would like to create Mathematica slide shows that contain several tailored, fixed banners as headers and footers, much as MS Powerpoint, MS Word, Apple Pages, and LaTeX documents allow one to specify headers and footers. I would like a more powerful form of Slide Show template in which I design Header1, Footer1, Header2, Footer2, etc., which might contain a corporate logo, colored background, navigation buttons (prior page, next page, etc.), section titles such as Introduction, Approach, Results, Conclusion (for an academic presentation, for instance). During composition, Header1 and Footer1 stay in effect until I deliberately select Header2 and Footer2.

I've searched through Mma SE without full success (How to make the docked cell and the navigation toolbar in the Slide Show?), and the Slide Show palette enables page numbering, dates, and such, but not (as far as I can tell) several header designs containing special figures, text, and so on that can be selected as needed, and re-used within different shows.

$\endgroup$
2
$\begingroup$

A partial answer is the following:

With[{myCell = 
   Cell[BoxData[
     RowBox[{ToBoxes[
        Text[Style["My banner", 24, Italic, FontFamily -> "Times", 
          Background -> Yellow]]]}]], "DockedCell"]},
 nb = NotebookCreate[
   ScreenStyleEnvironment -> "SlideShow",
   DockedCells -> 
    Dynamic[If[
      CurrentValue[EvaluationNotebook[], ScreenStyleEnvironment] === 
       "SlideShow",
      {Inherited, myCell}, myCell]]]]

This then creates a SlideShow notebook that has my fixed banner at the top. I don't know how to create a "footer" banner, nor change one within the SlideShow notebook.

enter image description here

I wouldn't mind (too much) if I had to make several separate SlideShows with different headers and then concatenate them into a single SlideShow retaining the separate headers, but apparently this is not possible.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.