MathGroup Archive 2008

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

Search the Archive

Re: Re: Creating a Banner for presentation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg93671] Re: Re: Creating a Banner for presentation
  • From: Alexei Boulbitch <Alexei.Boulbitch at iee.lu>
  • Date: Fri, 21 Nov 2008 05:33:28 -0500 (EST)

Just to supplement a bit the answer of David,
the notebook with a banner may be comfortably created from an external notebook. To achieve this, one can copy the code below 
to any notebook and execute it. This will create a new slide-show-notebook with nothing, but a banner. The latter consists 
in this example of a combination of a table and a picture. Making a combination 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 otherwise confidential information. If you are not the intended recipient and have received this e-mail in error, you are hereby notified that any review, copying or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal from your system. Thank you for your co-operation.




  • Prev by Date: Re: Re: Analyzing sequences of fractions in Mathematica
  • Next by Date: Eigenvalue problem in mathematica...
  • Previous by thread: Re: Creating a Banner for presentation
  • Next by thread: Re: Creating a Banner for presentation