>>Date: Mon, 24 Jul 2006 15:59:35 +0200
>>From: icebna <[EMAIL PROTECTED]>
>>To: [email protected]
>>Subject: Insert graphic in preamble
>>
>>Hi all :
>>I need insert a graphic in the right head, after a line of text. Now, I
>>have in the preamble :
>>
>>                         \rhead{line of text}
>>I need :
>>
>>                         \rhead{line of text} :-)         What 
>>instructions must insert here, to show the graphic ?

Here is the piece of code I use to insert a graphic in the footer:

\newsavebox{\mylogo}
\savebox{\mylogo}{\includegraphics[width=1cm]{mylogo}}
\rfoot{\smallskip\usebox{\mylogo}}

Using the savebox/usebox is strongly recommended because:
 - the graphic is loaded only once
 - this will protect you against weird  effects if you use verbatim inputs.
 
I didn't include the suffix eps, pdf, jpg or png of the logo to be able
to compile with latex or pdflatex, I keep approprite versions of the logo 
available.

HTH
 
-- 
Jean-Pierre
 
 
 

Reply via email to