Re: How to insert a logo into beamer's sidebar?

2008-10-31 Thread Paul A. Rubin

Dr. Wang Yongqiao wrote:

How to insert a logo into beamer's sidebar?

I put the following code into the preamble, but it doesn't work.

\pgfdeclareimage[interpolate=true,width=1.4cm,height=1.4cm]{mylogo}{logo}
\setbeamertemplate{sidebar left} {
\pgfuseimage{mylogo}
..
}



Are you using a Beamer style that (a) has a left sidebar and (b) puts 
the logo there by default?  If so, all you need is


\pgfdeclareimage[interpolate=true,width=1.4cm,height=1.4cm]{mylogo}{logo}
\logo{\pgfuseimage{mylogo}}

(assuming that 'logo.eps' is the name of the image file).

If you are using a style that has a left sidebar but does not normally 
include a logo there, then you have to modify the appropriate 
beamertemplate.  If you're using a style that does not have a left 
sidebar, I don't think declaring the template will add one; you have to 
modify the style itself.


If this doesn't answer the question fully, let us know what style you 
are using.


/Paul



How to insert a logo into beamer's sidebar?

2008-10-30 Thread Dr. Wang Yongqiao

How to insert a logo into beamer's sidebar?

I put the following code into the preamble, but it doesn't work.

\pgfdeclareimage[interpolate=true,width=1.4cm,height=1.4cm]{mylogo}{logo}
\setbeamertemplate{sidebar left} {
\pgfuseimage{mylogo}
..
}

Many thanks!