Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

The default beamer-ornate template includes an option to put an institution logo at the bottom of every slide,

\pgfdeclareimage[height=0.5cm]{institution-logo}{logofile.png}
\logo{\pgfuseimage{institution-logo}}

Unfortuantely, LyX doesn't know to copy logofile.png into the build directory (namely, /tmp/lyx_tmpdir.T___/lyx_tmpbufN/), and so the build command fails. How do I make it work correctly?

share|improve this question
    
This question is basically answered in tex.stackexchange.com/questions/12986/… –  Charles Stewart Jun 28 '11 at 8:51
1  
Try \logo{\includegraphics[height=0.5cm]{logofile.png}} instead. Maybe LyX has problems detecting the PGF image macros. –  Martin Scharrer Jun 28 '11 at 10:22
    
@Charles No, it's really not... that's for LaTeX and orthogonal. Path searching is not desired, I want it fully obvious what image should be included. –  gatoatigrado Jun 28 '11 at 19:22
add comment

1 Answer 1

Martin Scharrer's comment sent me on the right track. The \logo command just sets a sub-document to be placed somewhere appropriate. So, you can create a LaTeX text with "\logo{" (Ctrl-L), use Insert > Graphics as regular, and add a closing LaTeX text with "}".

If an editor screenshot jogs memory for LyX users (hopefully UCB will forgive me for any potential copyright issues),

LyX logo include

share|improve this answer
    
Glad that I could help. –  Martin Scharrer Jun 28 '11 at 19:45
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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