Re: Creating a Banner for presentation
- To: mathgroup at smc.vnet.net
- Subject: [mg93707] Re: Creating a Banner for presentation
- From: RG <gobithaasan at gmail.com>
- Date: Sat, 22 Nov 2008 06:13:53 -0500 (EST)
- References: <gg62op$566$1@smc.vnet.net>
On Nov 21, 6:32 pm, Alexei Boulbitch <Alexei.Boulbi... at iee.lu> wrote: > Just to supplement a bit the answer of David, > the notebook with a banner may be comfortably created from an external no= tebook. To achieve this, one can copy the code below > to any notebook and execute it. This will create a new slide-show-noteboo= k with nothing, but a banner. The latter consists > in this example of a combination of a table and a picture. Making a combi= nation of other items seems to be straightforward. > > (* This defines a picture *) > rose = Import["ExampleData/rose.gif"]; > > (* This defines a table *) > tbl = Grid[{ > {Style["This is a first term"], > Style["This is a second term"]}, {Style["This is a third term"= ], > Style["This is a fourth term"]} > }, Dividers -> Directive[Black, Thickness= [2]], > ItemSize -> {15, 2}]; > > (* This defines a notebook to be created *) > nb1 = CreateDocument[]; > > (* This opens a notebook with the banner consisting of a table and a > picture *) > SetOptions[nb1, > DockedCells -> {FEPrivate`FrontEndResource["FEExpressions", > "SlideshowToolbar"], > First[ToBoxes[ > TextCell[Row[{tbl, rose}], "Text", TextAlignment -> Right]]]}] > > David, thank you for the answer. Alexei > > On Nov 19, 5:39 am, RG <gobithaa... at gmail.com> wrote: > > > > > Hi David, thanks for your answer, but I wonder how to put a figure > > instead of texts too. Another question is: where do we put the > > command? It doesn't look nice If I put the command on the first page > > of my presentation... > > ~jetro > > Ah, so many questions... :-) > > You only have to execute this once, then you can remove the command > from your presentation and save it. The docked cell will then be a > part of your notebook (in its options settings). > > Another way to do this is to modify the stylesheet for the notebook in > question. I don't have time at the moment to write up that code (to > do it automatically) and debug it. Alas, the day job and mortgage > payments beckon... > > I hope that this helps. If I misunderstood the question, let me know > via direct email and I will find an answer for you and then post it to > the group. > > --David > > -- > Alexei Boulbitch, Dr., Habil. > Senior Scientist > > IEE S.A. > ZAE Weiergewan > 11, rue Edmond Reuter > L-5326 Contern > Luxembourg > > Phone: +352 2454 2566 > Fax: +352 2454 3566 > > Website:www.iee.lu > > This e-mail may contain trade secrets or privileged, undisclosed or other= wise confidential information. If you are not the intended recipient and ha= ve received this e-mail in error, you are hereby notified that any review, = copying or distribution of it is strictly prohibited. Please inform us imme= diately and destroy the original transmittal from your system. Thank you fo= r your co-operation. Dear Alexei & David, thank you very much for your codes, Alexei's final code is superb. Thank you very much guys...